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
attempt test_route_checks fix
yuneng-jiang232ae52b947d
diff --git a/tests/test_litellm/proxy/auth/test_route_checks.py b/tests/test_litellm/proxy/auth/test_route_checks.pyindex 04f973e9f86..b8084906fa5 100644--- a/tests/test_litellm/proxy/auth/test_route_checks.py+++ b/tests/test_litellm/proxy/auth/test_route_checks.py@@ -371,6 +371,9 @@ def test_virtual_key_llm_api_routes_allows_registered_pass_through_endpoints():with patch("litellm.proxy.pass_through_endpoints.pass_through_endpoints._registered_pass_through_routes",mock_registered_routes,+ ), patch(+ "litellm.proxy.pass_through_endpoints.pass_through_endpoints.get_server_root_path",+ return_value="/",):# Create a virtual key with llm_api_routes permissionvalid_token = UserAPIKeyAuth(@@ -417,6 +420,9 @@ def test_virtual_key_without_llm_api_routes_cannot_access_pass_through():with patch("litellm.proxy.pass_through_endpoints.pass_through_endpoints._registered_pass_through_routes",mock_registered_routes,+ ), patch(+ "litellm.proxy.pass_through_endpoints.pass_through_endpoints.get_server_root_path",+ return_value="/",):# Create a virtual key without llm_api_routes permissionvalid_token = UserAPIKeyAuth(