The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: use AsyncMock for concurrent test consistency
d 🔹88f59e1465ae
diff --git a/tests/test_litellm/proxy/test_aiohttp_session_recovery.py b/tests/test_litellm/proxy/test_aiohttp_session_recovery.pyindex f089d10425c..29bd9a491b7 100644--- a/tests/test_litellm/proxy/test_aiohttp_session_recovery.py+++ b/tests/test_litellm/proxy/test_aiohttp_session_recovery.py@@ -167,6 +167,7 @@ async def test_add_shared_session_concurrent_recreation_uses_lock():with patch.object(proxy_server_module,"_initialize_shared_aiohttp_session",+ new_callable=AsyncMock,side_effect=mock_init,):# Launch 5 concurrent calls