fix:routen2
CI / audit (push) Skipped
CI / checks (push) Failing after 3m22s
CI / image (push) Skipped

This commit is contained in:
marco.morath committed 2026-11-25 22:32:38 +01:00
1 parent 90fbbffc20
commit f18298d07f
2 files changed
+24 -8

No files matched your search

+2 -1
View File
@@ -155,7 +155,8 @@ def test_edit_and_delete_with_personal_link(app: Any) -> None:
csrf = token_for(first, f"{link}/edit")
resp = first.post(f"{link}/edit", data={"csrf_token": csrf, f"q{qid}": late})
assert resp.status_code == 303 and resp.headers["location"].endswith("?done=saved")
assert sorted(b[:2] for b in bookings(qid)) == [(early, "confirmed"), (late, "confirmed")]
assert sorted(b[:2] for b in bookings(qid)) == sorted([(early, "confirmed"),
(late, "confirmed")])
# Löschen braucht die Bestätigung
csrf = token_for(first, link)
assert first.post(f"{link}/delete", data={"csrf_token": csrf}).status_code == 400