From d6aeb76c4b9ca0e08d64e5c4ee8a010e561f5ee2 Mon Sep 17 00:00:00 2001 From: ogt Date: Fri, 10 Jul 2026 18:55:10 +0800 Subject: [PATCH] test(ai): align dev smoke counts with governance check --- tests/test_ai_automation_smoke_service.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_ai_automation_smoke_service.py b/tests/test_ai_automation_smoke_service.py index d746418..ea22776 100644 --- a/tests/test_ai_automation_smoke_service.py +++ b/tests/test_ai_automation_smoke_service.py @@ -1452,7 +1452,7 @@ def test_collect_ai_automation_smoke_uses_worst_status(monkeypatch): result = smoke.collect_ai_automation_smoke(record_history=False) assert result["status"] == "critical" - assert result["summary"] == {"ok": 43, "warning": 1, "critical": 1, "total": 45} + assert result["summary"] == {"ok": 44, "warning": 1, "critical": 1, "total": 46} def test_pchome_controlled_apply_drift_monitor_reports_verified_zero_drift(monkeypatch): @@ -4447,7 +4447,7 @@ def test_scheduled_automation_health_summary_reads_history_without_side_effects( ) assert summary["policy"] == "read_only_ai_automation_scheduled_health_summary" assert summary["status"] == "ok" - assert summary["summary"]["total"] == 42 + assert summary["summary"]["total"] == 43 assert summary["summary"]["primary_human_gate_count"] == 0 assert summary["summary"]["writes_database_count"] == 0 assert pchome_family["status"] == "ok" @@ -6859,7 +6859,7 @@ def test_surface_html_readback_check_is_part_of_ai_smoke(monkeypatch): item for item in result["checks"] if item["name"] == "Sitewide visual QA readback" ) - assert result["summary"]["total"] == 45 + assert result["summary"]["total"] == 46 assert surface_check["status"] == "ok" assert surface_check["details"]["checked_surface_count"] == 10 assert sitewide_check["status"] == "ok"