chore: remove unused imports (MagicMock, args)
This commit is contained in:
@@ -12,7 +12,7 @@ Focuses on edge cases and scenarios not covered in test_scorecards.py:
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import UTC, datetime
|
||||
from unittest.mock import MagicMock, patch
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -29,7 +29,6 @@ from dashboard.services.scorecard_service import (
|
||||
)
|
||||
from infrastructure.events.bus import Event
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# _aggregate_metrics — edge cases
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
@@ -189,7 +189,7 @@ class TestMainHealthCheckIntegration:
|
||||
call_order.append("gitea")
|
||||
return False
|
||||
|
||||
args = _default_args()
|
||||
_default_args()
|
||||
|
||||
with (
|
||||
patch.object(orch, "_generate_health_snapshot", side_effect=fake_snapshot),
|
||||
|
||||
Reference in New Issue
Block a user