fix(#148): Fix linting violations in quality orchestrator tests
Fixed code review findings: - Removed unused imports (AsyncMock, MagicMock) - Fixed line length violation in test_forced_continuation.py All 15 tests still passing after fixes.
This commit is contained in:
@@ -65,7 +65,10 @@ class TestForcedContinuationService:
|
|||||||
message="Lint gate failed: Linting issues detected",
|
message="Lint gate failed: Linting issues detected",
|
||||||
details={
|
details={
|
||||||
"return_code": 1,
|
"return_code": 1,
|
||||||
"stderr": "src/main.py:10: E501 line too long\nsrc/models.py:5: F401 unused import",
|
"stderr": (
|
||||||
|
"src/main.py:10: E501 line too long\n"
|
||||||
|
"src/models.py:5: F401 unused import"
|
||||||
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
"test": GateResult(passed=True, message="Test passed", details={}),
|
"test": GateResult(passed=True, message="Test passed", details={}),
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
"""Tests for QualityOrchestrator service."""
|
"""Tests for QualityOrchestrator service."""
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
from unittest.mock import AsyncMock, MagicMock, patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user