Skip to content

Commit dd0aefe

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

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/tests/api/api/test_api_routes.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ def test_fetch_chart_data_with_filters_basic(create_test_client):
4444
with patch("api.api_routes.ChartService") as MockChartService:
4545
mock_instance = MockChartService.return_value
4646
mock_instance.fetch_chart_data_with_filters = AsyncMock(return_value=[
47-
{
48-
"id": "TOTAL_CALLS",
49-
"chart_name": "Total Calls",
50-
"chart_type": "card",
51-
"chart_value": [
52-
{"name": "Total Calls", "value": float("nan"), "unit_of_measurement": ""}
53-
]
54-
}
55-
])
47+
{
48+
"id": "TOTAL_CALLS",
49+
"chart_name": "Total Calls",
50+
"chart_type": "card",
51+
"chart_value": [
52+
{"name": "Total Calls", "value": float("nan"), "unit_of_measurement": ""}
53+
]
54+
}
55+
])
5656

5757
client = create_test_client()
5858
payload = {

0 commit comments

Comments
 (0)