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
test fix
Ishaan Jaffer8cb66168bcf2
diff --git a/tests/litellm_utils_tests/test_utils.py b/tests/litellm_utils_tests/test_utils.pyindex aec4a88d60f..889e3918b39 100644--- a/tests/litellm_utils_tests/test_utils.py+++ b/tests/litellm_utils_tests/test_utils.py@@ -1182,10 +1182,8 @@ def test_async_http_handler(mock_async_client):assert call_args["transport"] == mock_transportassert call_args["event_hooks"] == event_hooksassert call_args["headers"] == headers- assert isinstance(call_args["limits"], httpx.Limits)- assert call_args["limits"].max_connections == concurrent_limit- assert call_args["limits"].max_keepalive_connections == concurrent_limitassert call_args["timeout"] == timeout+ assert call_args["follow_redirects"] is True@mock.patch("httpx.AsyncClient")@@ -1224,12 +1222,10 @@ def test_async_http_handler_force_ipv4(mock_async_client):# Assert other parameters matchassert call_args["event_hooks"] == event_hooksassert call_args["headers"] == headers- assert isinstance(call_args["limits"], httpx.Limits)- assert call_args["limits"].max_connections == concurrent_limit- assert call_args["limits"].max_keepalive_connections == concurrent_limitassert call_args["timeout"] == timeoutassert isinstance(call_args["verify"], ssl.SSLContext)assert call_args["cert"] is None+ assert call_args["follow_redirects"] is Truefinally:# Reset force_ipv4 to default