a2a-source-edit: write tests/test_full_stack_contract.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user