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]

Update tests/test_litellm/proxy/management_endpoints/test_ui_sso.py

Harshit Jain3743513bb64b
diff --git a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py
index 097d5f34702..938d4e8c871 100644
--- a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py
+++ b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py
@@ -3079,7 +3079,7 @@ class TestPKCEFunctionality:
mock_cache.async_get_cache = AsyncMock(return_value=test_code_verifier)
mock_cache.async_delete_cache = AsyncMock()
- with patch("litellm.proxy.proxy_server.user_api_key_cache", mock_cache):
+ with patch("litellm.proxy.proxy_server.redis_usage_cache", None), patch("litellm.proxy.proxy_server.user_api_key_cache", mock_cache):
# Act
token_params = (
await SSOAuthenticationHandler.prepare_token_exchange_parameters(