Skip to content

Commit d69b7fc

Browse files
refactor: remove unused imports from test files for improved code quality
1 parent 2a5d61c commit d69b7fc

4 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/tests/backend/v4/common/services/test_mcp_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import asyncio
1616
import importlib.util
1717
from unittest.mock import patch, MagicMock
18-
from aiohttp import ClientTimeout, ClientError
18+
from aiohttp import ClientError
1919

2020
# Add the src directory to sys.path for proper import
2121
src_path = os.path.join(os.path.dirname(__file__), '..', '..', '..', '..')

src/tests/backend/v4/common/services/test_plan_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import logging
1919
import importlib.util
2020
from unittest.mock import patch, MagicMock, AsyncMock
21-
from typing import Any, Optional, List
21+
from typing import Any, List
2222
from dataclasses import dataclass
2323

2424
# Add the src directory to sys.path for proper import

src/tests/backend/v4/magentic_agents/test_proxy_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858

5959
# Now import the module under test
60-
from backend.v4.magentic_agents.proxy_agent import create_proxy_agent
60+
import backend.v4.magentic_agents.proxy_agent
6161

6262

6363
class TestProxyAgentComplexScenarios:

src/tests/backend/v4/orchestration/test_orchestration_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import logging
88
import os
99
import sys
10-
from typing import List
1110
from unittest import IsolatedAsyncioTestCase
1211
from unittest.mock import AsyncMock, Mock, patch
1312

0 commit comments

Comments
 (0)