Update tests/test_litellm/proxy/auth/test_handle_jwt.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Ishaan Jaff 2026-02-27 20:29:46 -08:00 committed by GitHub
parent c6207c42cb
commit 836a4b34ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1530,6 +1530,7 @@ async def test_resolve_jwks_url_resolves_oidc_discovery_document():
jwks_url = "https://login.microsoftonline.com/tenant/discovery/keys"
mock_response = MagicMock()
mock_response.status_code = 200
mock_response.json.return_value = {"jwks_uri": jwks_url, "issuer": "https://..."}
with patch.object(handler.http_handler, "get", new_callable=AsyncMock, return_value=mock_response) as mock_get: