Skip to content

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]

test fix test_ssl_context_transport

Ishaan Jaff16c92c2e61cc
diff --git a/tests/litellm/llms/custom_httpx/test_http_handler.py b/tests/litellm/llms/custom_httpx/test_http_handler.py
index b1c353a9940..3a1cdf071ca 100644
--- a/tests/litellm/llms/custom_httpx/test_http_handler.py
+++ b/tests/litellm/llms/custom_httpx/test_http_handler.py
@@ -85,6 +85,7 @@ async def test_force_ipv4_transport():
async def test_ssl_context_transport():
"""Test transport creation with SSL context"""
# Create a test SSL context
+ litellm.use_aiohttp_transport = True
ssl_context = ssl.create_default_context()
transport = AsyncHTTPHandler._create_async_transport(ssl_context=ssl_context)