We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd15f66 commit 387931bCopy full SHA for 387931b
src/tests/api/api/test_api_routes.py
@@ -64,15 +64,15 @@ def test_fetch_chart_data_with_filters_basic(create_test_client):
64
}
65
response = client.post("/fetchChartDataWithFilters", json=payload)
66
expected = [
67
- {
68
- "id": "TOTAL_CALLS",
69
- "chart_name": "Total Calls",
70
- "chart_type": "card",
71
- "chart_value": [
72
- {"name": "Total Calls", "value": None, "unit_of_measurement": ""}
+ {
+ "id": "TOTAL_CALLS",
+ "chart_name": "Total Calls",
+ "chart_type": "card",
+ "chart_value": [
+ {"name": "Total Calls", "value": None, "unit_of_measurement": ""}
73
+ ]
74
+ }
75
]
- }
-]
76
assert response.status_code == 200
77
assert response.json() == expected
78
0 commit comments