fix: remove unused AsyncMock/patch imports from REST fallback test

This commit is contained in:
Ishaan Jaffer 2026-03-07 12:03:47 -08:00
parent fe72982d1f
commit a00628bfc4

View file

@ -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)