a2a-source-edit: write tests/test_agent.py
This commit is contained in:
@@ -176,5 +176,5 @@ async def test_end_to_end_deterministic_crashing_image_scenario(ctx, workspace):
|
||||
assert verification["recovered"] is False # no user-visible check supplied
|
||||
|
||||
postmortem = await agent.generate_postmortem(ctx, "checkout-001")
|
||||
assert postmortem.incident_id == "checkout-001"
|
||||
assert postmortem["incident_id"] == "checkout-001"
|
||||
assert workspace.exists("outputs/incidents/checkout-001/postmortem.json")
|
||||
|
||||
Reference in New Issue
Block a user