Complete intake delivery wiring and narrow remaining owner blockers
Assistant: codex Assistant-Model: gpt-6.1-sol Assistant-Session: 01a1029c-c003-7283-acc9-930b434e6cae
This commit is contained in:
parent
49f8eb4c4b
commit
ff59199c3b
13 changed files with 452 additions and 60 deletions
|
|
@ -87,3 +87,10 @@ def test_bad_decision_id_refused():
|
|||
with pytest.raises(ValueError):
|
||||
write_back(answer(), {"hub_decision_id": "D1", "resolves": "on-answer"}, base_url=BASE,
|
||||
transport=Hub(), env=ON)
|
||||
|
||||
|
||||
@pytest.mark.parametrize('read_status,body', [(503, {}), (404, {}), (200, {}), (200, None)])
|
||||
def test_unreadable_conflict_remains_retryable(read_status, body):
|
||||
hub = Hub((409, {}), (read_status, body))
|
||||
assert write_back(answer(), {'hub_decision_id': D1, 'resolves': 'on-answer'},
|
||||
base_url=BASE, transport=hub, env=ON).status == 'failed'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue