Skip to content

Commit a165f21

Browse files
refactor: remove unused imports in test files for improved code quality
1 parent 77aea47 commit a165f21

4 files changed

Lines changed: 2 additions & 8 deletions

File tree

src/tests/backend/callbacks/test_response_handlers.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
"""Unit tests for response_handlers module."""
22

3-
import asyncio
4-
import logging
53
import os
64
import sys
7-
import time
8-
from unittest.mock import AsyncMock, MagicMock, Mock, patch
5+
from unittest.mock import AsyncMock, Mock, patch
96

107
import pytest
118

src/tests/backend/models/test_plan_models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import uuid
66

7-
import pytest
8-
97
from backend.models.plan_models import (AgentDefinition, MPlan, MStep,
108
PlannerResponsePlan,
119
PlannerResponseStep, PlanStatus)

src/tests/backend/orchestration/helper/test_plan_to_mplan_converter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"""
1111

1212
import os
13-
import re
1413
import sys
1514
import unittest
1615

src/tests/backend/services/test_team_service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class MockDatabaseBase:
6666

6767
# Mock common.models.messages with real dataclasses
6868
from dataclasses import dataclass, field
69-
from typing import Any, List, Optional
69+
from typing import Any, List
7070

7171

7272
@dataclass

0 commit comments

Comments
 (0)