diff --git a/tests/test_agent.py b/tests/test_agent.py index a758bfc..abfab84 100644 --- a/tests/test_agent.py +++ b/tests/test_agent.py @@ -141,8 +141,8 @@ async def test_allowlisted_operation_enforcement(ctx, workspace): async def test_recovery_gating_requires_checks(ctx): agent = ProductionIncidentCommander() result = await agent.verify_recovery(ctx, incident_id="inc-004", observation_seconds=0) - assert result.recovered is False - assert result.checks[0].status == "fail" + assert result["recovered"] is False + assert result["checks"][0]["status"] == "fail" @pytest.mark.asyncio