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_handle_jwt.py
Ishaan Jaff086621e3d3f3
diff --git a/tests/test_litellm/proxy/auth/test_handle_jwt.py b/tests/test_litellm/proxy/auth/test_handle_jwt.pyindex 10d43141c1f..8f8f3ced074 100644--- a/tests/test_litellm/proxy/auth/test_handle_jwt.py+++ b/tests/test_litellm/proxy/auth/test_handle_jwt.py@@ -186,7 +186,7 @@ async def test_auth_builder_proxy_admin_user_role():JWTAuthManager,"get_objects",new_callable=AsyncMock,- return_value=(user_object, None, None),+ return_value=(user_object, None, None, None),) as mock_get_objects, patch.object(JWTAuthManager, "map_user_to_teams", new_callable=AsyncMock) as mock_map_user, patch.object(@@ -270,7 +270,7 @@ async def test_auth_builder_non_proxy_admin_user_role():JWTAuthManager,"get_objects",new_callable=AsyncMock,- return_value=(user_object, None, None),+ return_value=(user_object, None, None, None),) as mock_get_objects, patch.object(JWTAuthManager, "map_user_to_teams", new_callable=AsyncMock) as mock_map_user, patch.object(