From 7e64df92a570ed1f0fd322c38f199d9e306ea878 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Tue, 23 Sep 2025 15:42:07 -0700 Subject: [PATCH] test_cli_sso_callback_regenerate_existing_key --- 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 4ccfca14f4..42873479ca 100644 --- a/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py +++ b/tests/test_litellm/proxy/management_endpoints/test_ui_sso.py @@ -1275,7 +1275,7 @@ class TestCLIKeyRegenerationFlow: ) # Assert - mock_regenerate.assert_called_once_with(existing_key, new_key) + mock_regenerate.assert_called_once_with(existing_key=existing_key, new_key=new_key, user_id=None) assert result.status_code == 200 assert "Success" in result.body.decode()