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:
Alex Sze 2026-04-24 18:45:19 +08:00 • committed by GitHub
parent d9b264ba13
commit 895f771397
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2168,7 +2168,7 @@ class TestCLIKeyRegenerationFlow:
assert (
exc_info.value.detail
== "OAuth error: access_denied, error_description: User denied consent"
)
assert exc_info.value.status_code == 400
def test_get_redirect_url_does_not_include_existing_key_in_url(self):
"""Test that redirect URL generation does NOT include existing_key in URL (uses state parameter instead)"""