US07-01: Complete Donor Migration and Freeze the CLI Archive (#83)

This commit was merged in pull request #83.
This commit is contained in:
2026-08-16 21:53:19 +02:00
parent 9b7ee6b560
commit d143fee4d2
38 changed files with 1010 additions and 47 deletions

View File

@@ -14,6 +14,11 @@ import pytest
from PIL import Image
REPO = Path(__file__).resolve().parents[2]
# The donors are frozen in the read-only archive (US07-01). Only this suite — and
# the parity test that compares against them — puts that directory on sys.path;
# production never does, which tests/unit/test_legacy_archive.py enforces.
ARCHIVED_SOURCES = REPO / "legacy_cli_archive" / "src"
sys.path.insert(0, str(ARCHIVED_SOURCES))
sys.path.insert(0, str(REPO))
EXIFTOOL = shutil.which("exiftool")