test: everything the tests read is in git -- a fresh checkout passes on its own

A fresh checkout of dev failed 10 tests, errored 3 and skipped 64: the
tests read 100 files that were only on the dev box.  Recorded with an
audit hook over a full run: 100 files, 2.3 MB, out of 1.1 GB of
bridges/captures/ and 45 MB of histogram-extension-re/.

- Force-added in place: tests/fixtures/thor-idf (14), histogram-multi-
  interval (2) and the one histogram-extension-re file read.
- Copied into tests/fixtures/example-events/ (10) and
  tests/fixtures/captures/ (73, from bridges/captures/), and the tests
  pointed there.
- The presence skips ('not on this machine', 'gitignored', 'fixture
  missing') are gone: a missing fixture now fails instead of skipping.

The worktree now runs as the dev box does: 1,787 passed, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-11-19 13:32:59 -05:00
1 parent c2b8e76774
commit 4d0984dcaf
109 files changed
+23763 -77

No files matched your search

+1 -3
View File
@@ -28,7 +28,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from minimateplus.framing import build_bw_write_frame, checksum
CAPTURE_PATH = os.path.join(
os.path.dirname(__file__), "..", "bridges", "captures", "3-11-26", "raw_bw_20260311_170151.bin",
os.path.dirname(__file__), "fixtures", "captures", "3-11-26", "raw_bw_20260311_170151.bin",
)
@@ -61,8 +61,6 @@ def _frames(raw: bytes) -> list:
@pytest.fixture(scope="module")
def writes() -> list:
if not os.path.exists(CAPTURE_PATH):
pytest.skip(f"Capture file not found: {CAPTURE_PATH}")
frames = _frames(open(CAPTURE_PATH, "rb").read())
w = [f for f in frames if 0x68 <= _unstuff(f[2:-1])[2] <= 0x83]
assert [f"{_unstuff(f[2:-1])[2]:02X}" for f in w] == \