From a00628bfc4646cabdbb399d2b57a192a2c6d33dc Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Sat, 7 Mar 2026 12:03:47 -0800 Subject: [PATCH] fix: remove unused AsyncMock/patch imports from REST fallback test --- .../_experimental/mcp_server/test_openapi_oauth2_endpoints.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/test_litellm/proxy/_experimental/mcp_server/test_openapi_oauth2_endpoints.py b/tests/test_litellm/proxy/_experimental/mcp_server/test_openapi_oauth2_endpoints.py index ba6996abe53..a3c677b39d7 100644 --- a/tests/test_litellm/proxy/_experimental/mcp_server/test_openapi_oauth2_endpoints.py +++ b/tests/test_litellm/proxy/_experimental/mcp_server/test_openapi_oauth2_endpoints.py @@ -701,8 +701,6 @@ async def test_execute_mcp_tool_uses_user_api_key_dict_as_fallback(): Patches execute_mcp_tool and verifies the fallback passes the correct user_api_key_auth through when data["user_api_key_auth"] is None. """ - from unittest.mock import AsyncMock, patch - from litellm.proxy._types import UserAPIKeyAuth mock_user = MagicMock(spec=UserAPIKeyAuth)