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

This commit is contained in:
a2a-cloud
2026-07-19 19:58:02 +00:00
parent 50a78d08b6
commit 05ac1e027f

View File

@@ -53,7 +53,8 @@ def test_deterministic_analysis_fixture():
trends = agent._build_trends(rows)
assert trends["status_counts"] == {"green": 2, "yellow": 1, "red": 1}
assert trends["average_utilization"] == 78.8
assert len(exceptions) == 3
assert len(exceptions) == 2
assert {item["client"] for item in exceptions} == {"Beacon CRM", "Cedar Mobile"}
csv_text = agent._rows_to_csv(rows)
assert "agency-ops-dashboard" not in csv_text
assert "Acme Portal" in csv_text