diff --git a/tests/test_litellm/proxy/auth/test_user_api_key_auth.py b/tests/test_litellm/proxy/auth/test_user_api_key_auth.py index 0bf49523869..bc2370579d4 100644 --- a/tests/test_litellm/proxy/auth/test_user_api_key_auth.py +++ b/tests/test_litellm/proxy/auth/test_user_api_key_auth.py @@ -5877,17 +5877,17 @@ async def test_centralized_common_checks_inherits_org_identity( for k, v in attrs.items(): setattr(_proxy_server_mod, k, v) with ( - patch( + patch( # test-quality-ok: centralized auth calls this module helper directly; no dependency injection seam exists "litellm.proxy.auth.user_api_key_auth.get_team_object", new_callable=AsyncMock, return_value=fetched_team, ) as mock_get_team_object, - patch( + patch( # test-quality-ok: centralized auth calls this module helper directly; no dependency injection seam exists "litellm.proxy.auth.user_api_key_auth.get_org_object", new_callable=AsyncMock, return_value=organization, ) as mock_get_org_object, - patch( + patch( # test-quality-ok: capture downstream token state without invoking unrelated common checks "litellm.proxy.auth.user_api_key_auth.common_checks", new_callable=AsyncMock, ) as mock_checks,