From 895f771397c3505a7234dacd22559ef45787df30 Mon Sep 17 00:00:00 2001 From: Alex Sze <51705750+AlexSze@users.noreply.github.com> Date: Fri, 24 Apr 2026 18:45:19 +0800 Subject: [PATCH] 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> --- tests/test_litellm/proxy/management_endpoints/test_ui_sso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c95adc73ed1..3220e0069b5 100644 --- a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py +++ b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py @@ -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)"""