Record clean security workplan cutoff
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a0260c-4067-7052-9647-ad000d576e38
This commit is contained in:
parent
6f81bba332
commit
92f23e690b
7 changed files with 111 additions and 3 deletions
|
|
@ -63,6 +63,14 @@ def test_pending_owner_acknowledgement_fails_closed(tmp_path):
|
|||
load(tmp_path, data)
|
||||
|
||||
|
||||
def test_cancelled_record_fails_closed_even_with_owner_acknowledgement(tmp_path):
|
||||
data = record()
|
||||
data["status"] = "cancelled"
|
||||
data["cancelled_at"] = "2026-08-21T08:02:00Z"
|
||||
with pytest.raises(AuthorizationError, match="cancelled"):
|
||||
load(tmp_path, data)
|
||||
|
||||
|
||||
def _write(tmp_path, data):
|
||||
path = tmp_path / "engagement.json"
|
||||
path.write_text(json.dumps(data), encoding="utf-8")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue