Commit c55bfc2
fix: delete dead PYAUTOFIT_TEST_MODE fixture in aggregator conftest (#95)
The autouse `set_test_mode` fixture set `PYAUTOFIT_TEST_MODE`, which nothing
reads — the canonical knob is `PYAUTO_TEST_MODE` (autonerves/test_mode.py).
The fixture has therefore always been a silent no-op.
Renaming it to the live variable is NOT the right fix: it makes test mode
actually take effect, which bypasses sampling so the aggregator has no samples
to iterate, and 6 of the 13 aggregator tests fail. These tests were written
against — and only pass under — normal sampling.
Verified three ways:
dead var present (baseline) -> 13 passed
renamed to PYAUTO_TEST_MODE -> 6 failed, 7 passed
fixture deleted (this fix) -> 13 passed
So the fixture is deleted rather than renamed: behaviour-preserving, and it
removes a trap that autocti_workspace_test/AGENTS.md and autocti_assistant
had resorted to documenting instead of deleting.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JiU4VbBD9X6jPYJMCx3boh1 parent 9b9f5fe commit c55bfc2
1 file changed
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 13 | | |
21 | 14 | | |
22 | 15 | | |
| |||
0 commit comments