Skip to content

Commit deb9ecb

Browse files
fix(cli): correct stale tests.registry import in interactive progress branch (#4)
The TTY branch in `ifixai run` imported ALL_SPECS / STRATEGIC_TESTS from `ifixai.tests.registry`, a module that no longer exists. The symbols live in `ifixai.harness.registry`. The crash only surfaced on interactive TTYs (gated by supports_color()), so non-TTY runs masked it.
1 parent f8e6995 commit deb9ecb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ifixai/cli/run.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def run(
855855
cat_progress: CategoryProgress | None = None
856856
progress_cb = None
857857
if not quiet and not test and supports_color():
858-
from ifixai.tests.registry import ALL_SPECS, STRATEGIC_TESTS
858+
from ifixai.harness.registry import ALL_SPECS, STRATEGIC_TESTS
859859

860860
targeted = (
861861
[s for s in ALL_SPECS if s.test_id in STRATEGIC_TESTS]

0 commit comments

Comments
 (0)