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