a2a-source-edit: write tests/test_agent.py

This commit is contained in:
a2a-cloud
2026-07-13 02:52:38 +00:00
parent a4c6ac2876
commit f194246873

View File

@@ -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 assert verification["recovered"] is False # no user-visible check supplied
postmortem = await agent.generate_postmortem(ctx, "checkout-001") 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") assert workspace.exists("outputs/incidents/checkout-001/postmortem.json")