Compare capture paths in POSIX form on every platform

The manifest stores forward-slash paths, and str() of a Windows path uses
backslashes, so the index test failed on both Windows CI jobs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Victor KuznetsovandClaude Opus 5.5 committed 2026-09-27 10:11:54 -07:00
1 parent f855c4700f
commit e310a22bd8
1 file changed
+1 -1
+1 -1
View File
@@ -33,7 +33,7 @@ def test_every_stored_capture_is_indexed_once(manifest: Path):
assert len(indexed) == len(set(indexed))
assert len({row["sha256"] for row in rows}) == len(rows)
on_disk = {
str(path.relative_to(ROOT))
path.relative_to(ROOT).as_posix()
for path in manifest.parent.rglob("*")
if path.is_file() and path.name not in {"manifest.csv", "README.md"}
}