Skip to content

Commit 6746fe3

Browse files
acailicclaude
andcommitted
fix: resolve CI failure (imports) — ensure collector submodules accessible for patch() on Python 3.10
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f64e1ba commit 6746fe3

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_collector_persistence.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
import pytest
1313

14+
import collector.persistence # noqa: F401 — ensure submodule accessible for patch() on Python 3.10
1415
from agent_debugger_sdk.core.events import EventType, TraceEvent
1516
from collector.buffer import EventBuffer
1617
from collector.persistence import (

tests/test_feature_1_why_button.py

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

1414
import pytest
1515

16+
import collector.causal_analysis # noqa: F401 — ensure submodule accessible for patch() on Python 3.10
17+
1618
# =============================================================================
1719
# Custom Exceptions (module-level as specified)
1820
# =============================================================================

tests/test_persistence_manager_unit.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
import pytest
1111

12+
import collector.persistence # noqa: F401 — ensure submodule accessible for patch() on Python 3.10
1213
from collector.persistence import DEFAULT_STORAGE_PATH, USER_STORAGE_PATH, PersistenceManager
1314

1415

0 commit comments

Comments
 (0)