a2a-source-edit: write tests/test_agent.py
This commit is contained in:
@@ -101,7 +101,7 @@ async def test_plan_never_executes_and_execution_dry_run_default(ctx, workspace)
|
|||||||
ctx,
|
ctx,
|
||||||
incident_id="inc-002",
|
incident_id="inc-002",
|
||||||
plan_path="outputs/incidents/inc-002/remediation-plan.json",
|
plan_path="outputs/incidents/inc-002/remediation-plan.json",
|
||||||
approved_step_ids=[plan.steps[0].id],
|
approved_step_ids=[plan["steps"][0]["id"]],
|
||||||
approval_acknowledgement=APPROVAL_ACK,
|
approval_acknowledgement=APPROVAL_ACK,
|
||||||
)
|
)
|
||||||
assert result.status == "dry_run"
|
assert result.status == "dry_run"
|
||||||
|
|||||||
Reference in New Issue
Block a user