feat(01-02): export and serve validated local media pairs

This commit is contained in:
UnixNight committed 2026-11-12 19:34:06 -05:00
1 parent 488c904807
commit 49f874e64c
6 files changed
+465 -3

No files matched your search

+3
View File
@@ -146,6 +146,9 @@ class FidelityReview(unittest.TestCase):
value['limitations'].append(hostile)
raw = self.original.parent / 'raw.json'
raw.write_text(json.dumps(value))
# A new collector bundle has no import sidecar; do not reuse another
# receipt's immutable metadata identity for this changed observation.
(self.original.parent / 'receipt.sha256').unlink()
data = self.api().export_review(raw, None, self.output)
self.assertIn(hostile, data['sides']['original']['limitations'])
self.assertNotIn(hostile, (self.output / 'index.html').read_text())