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 tests
Krrish Dholakia5cdeb63cdd6f
diff --git a/.github/workflows/test-litellm.yml b/.github/workflows/test-litellm.ymlindex b6b77ad3269..b7f4a25d593 100644--- a/.github/workflows/test-litellm.yml+++ b/.github/workflows/test-litellm.yml@@ -40,4 +40,4 @@ jobs:cd ..- name: Run testsrun: |- poetry run pytest tests/test_litellm -vv -n 4+ poetry run pytest tests/test_litellm --tb=short -vv --maxfail=10 -n 4diff --git a/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.py b/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.pyindex fb15dbc14e6..afafa510a41 100644--- a/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.py+++ b/tests/test_litellm/proxy/_experimental/mcp_server/auth/test_user_api_key_auth_mcp.py@@ -364,6 +364,7 @@ class TestMCPRequestHandler:mcp_auth_header,mcp_servers,mcp_server_auth_headers,+ oauth2_headers,) = await MCPRequestHandler.process_mcp_request(scope)# Assert the results@@ -717,6 +718,7 @@ class TestMCPCustomHeaderName:mcp_auth_header,mcp_servers,mcp_server_auth_headers,+ oauth2_headers,) = await MCPRequestHandler.process_mcp_request(scope)# Assert the results@@ -887,6 +889,7 @@ class TestMCPAccessGroupsE2E:mcp_auth_header,mcp_servers,mcp_server_auth_headers,+ oauth2_headers,) = await MCPRequestHandler.process_mcp_request(scope)# Assert the results@@ -936,6 +939,7 @@ class TestMCPAccessGroupsE2E:mcp_auth_header,mcp_servers,mcp_server_auth_headers,+ oauth2_headers,) = await MCPRequestHandler.process_mcp_request(scope)# Assert the results@@ -964,6 +968,7 @@ def test_mcp_path_based_server_segregation(monkeypatch):mcp_auth_header,mcp_servers,mcp_server_auth_headers,+ oauth2_headers,) = get_auth_context()# Capture the MCP servers for testing