Skip to content

Commit 387931b

Browse files
Update src/tests/api/api/test_api_routes.py
Co-authored-by: Copilot <[email protected]>
1 parent fd15f66 commit 387931b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/tests/api/api/test_api_routes.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ def test_fetch_chart_data_with_filters_basic(create_test_client):
6464
}
6565
response = client.post("/fetchChartDataWithFilters", json=payload)
6666
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": ""}
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": ""}
73+
]
74+
}
7375
]
74-
}
75-
]
7676
assert response.status_code == 200
7777
assert response.json() == expected
7878

0 commit comments

Comments
 (0)