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

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Harshit Jain 2026-02-14 11:01:25 +05:30 committed by GitHub
parent 37fc4a35ff
commit 3743513bb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(