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:
1 parent
c2b8e76774
commit
4d0984dcaf
109 files changed
+23763
-77
No files matched your search
@@ -33,7 +33,7 @@ from minimateplus.protocol import assemble_compliance_content, is_compliance_con
|
||||
from test_minimate_write_frames import WRITES, _frames, _payload # noqa: E402
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
APRIL = ROOT / "bridges" / "captures" / "4-20-26"
|
||||
APRIL = ROOT / "tests" / "fixtures" / "captures" / "4-20-26" # copied from bridges/captures/
|
||||
S4_FIX = sorted(glob.glob(str(ROOT / "tests" / "fixtures" / "micromate-setup" / "*.bin")))
|
||||
TEN26 = ROOT / "tests" / "fixtures" / "minimate-bench-10-26-26-histogram"
|
||||
|
||||
@@ -128,8 +128,6 @@ def test_s3_reproduces_every_blastware_write(name, before, after):
|
||||
|
||||
|
||||
def test_the_blastware_writes_are_all_here():
|
||||
if not APRIL.is_dir():
|
||||
pytest.skip("bridges/captures is not on this machine")
|
||||
assert len(S3_PAIRS) >= 10 # 8 April pairs (+1 if its first read is whole) and 2 on 10-26
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user