Verhindere fehlende Anlagen im Übergabepaket und benenne sie nach Titel.
Deploy Development / deploy (push) Successful in 30s
Test Suite / pytest-backend (push) Failing after 1m40s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 8s

Anlagen erscheinen unter dem Anzeigenamen statt nur technischem Dateinamen; fehlende Freigabe, Auswahl oder Ausgabe wird in der Prüfung gemeldet statt still wegzulassen.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-18 14:43:48 +02:00
1 parent 8b74e63417
commit ea28c4f246
3 files changed
+167 -6

No files matched your search

+2 -2
View File
@@ -384,7 +384,7 @@ def test_dispatch_keeps_the_secured_stand_and_distinct_mail_parts(client, db, mo
selected = [node["id"] for node in nodes if node["kind"] in {"dispatch_item", "evidence"}]
archive = _zip(ada, matter["id"], selected)
names = archive.namelist()
snapshot = next(name for name in names if name.endswith("/Anlagen/lage.pdf"))
snapshot = next(name for name in names if name.endswith("/Anlagen/Lageplan.pdf"))
assert archive.read(snapshot) == PDF_B
eml_name = next(name for name in names if name.endswith("nachricht.eml"))
assert b"Fachlicher Zusatz" in archive.read(eml_name)
@@ -517,7 +517,7 @@ def test_dispatch_keeps_the_secured_stand_and_distinct_mail_parts(client, db, mo
assert gaps
assert all("Später geänderter Text" not in full.read(name).decode("utf-8") for name in gaps)
assert all(b"%PDF" not in full.read(name) for name in gaps)
secured = next(name for name in full.namelist() if name.endswith("/Anlagen/lage.pdf"))
secured = next(name for name in full.namelist() if name.endswith("/Anlagen/Lageplan.pdf"))
assert full.read(secured) == PDF_B