Skip to content

Commit 97b1744

Browse files
edit
1 parent 6258a5b commit 97b1744

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tests/api/api/test_api_routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def test_fetch_chart_data_with_filters_error(create_test_client):
7676
assert response.status_code == 500
7777
assert "error" in response.json()
7878

79+
7980
def test_fetch_chart_data_error_handling(create_test_client):
8081
with patch("api.api_routes.ChartService") as MockChartService:
8182
mock_instance = MockChartService.return_value

src/tests/api/api/test_history_routes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ async def test_ensure_cosmos_invalid_config(mock_track, mock_ensure, client):
189189
assert res.json()["error"] == "Invalid CosmosDB configuration"
190190

191191

192+
192193
@pytest.mark.asyncio
193194
@patch("services.history_service.HistoryService.ensure_cosmos", new_callable=AsyncMock)
194195
@patch("common.logging.event_utils.track_event_if_configured")

0 commit comments

Comments
 (0)