diff --git a/src/tests/test_national.py b/src/tests/test_national.py index b39e801..be992cf 100644 --- a/src/tests/test_national.py +++ b/src/tests/test_national.py @@ -131,6 +131,7 @@ def test_get_national_forecast(db_session, api_client): != national_forecast.forecast_values[0].expected_power_generation_megawatts * 0.9 ) + def test_read_latest_national_values_start_and_end_filters_inculde_metadata(db_session, api_client): """Check main solar/GB/national/forecast route works""" @@ -146,7 +147,9 @@ def test_read_latest_national_values_start_and_end_filters_inculde_metadata(db_s app.dependency_overrides[get_session] = lambda: db_session - response = api_client.get("/v0/solar/GB/national/forecast?start_datetime_utc=2023-01-01&include_metadata=true") # noqa + response = api_client.get( + "/v0/solar/GB/national/forecast?start_datetime_utc=2023-01-01&include_metadata=true" + ) # noqa assert response.status_code == 200 national_forecast = NationalForecast(**response.json())