Fix: AP2.0 pytest — Snapshot statt nicht vorhandenem GET context.
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 2m2s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 17s

Steering PATCH akzeptiert alle registrierten method_keys (nicht nur Legacy-Literal).

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-07-10 10:56:26 +02:00
1 parent 3bd983297b
commit 95b743d6fd
2 files changed
+6 -8

No files matched your search

@@ -57,12 +57,12 @@ def test_program_initiative_gets_program_delivery_method(client):
assert created.status_code == 201
initiative_id = created.json()["id"]
ctx = client.get(
f"/api/steering/initiatives/{initiative_id}/context",
snap = client.get(
f"/api/initiatives/{initiative_id}/steering-snapshot",
headers=_auth(token),
)
assert ctx.status_code == 200
assert ctx.json()["method_key"] == "program_delivery"
assert snap.status_code == 200
assert snap.json()["method_key"] == "program_delivery"
def test_project_inherits_mirror_archetype(client):