diff --git a/src/tests/test_elexon_forecast.py b/src/tests/test_elexon_forecast.py index 5b0eec5..c456d1d 100644 --- a/src/tests/test_elexon_forecast.py +++ b/src/tests/test_elexon_forecast.py @@ -6,7 +6,6 @@ from pydantic_models import BaseModel, SolarForecastResponse - API_URL = "/v0/solar/GB/national/elexon" @@ -67,8 +66,6 @@ def test_get_elexon_forecast(api_client): assert response.status_code == 200 assert response.headers.get("Content-Type") == "application/json" - api_data = response.json()["data"] - solar_forecast = SolarForecastResponse(**response.json()) assert len(solar_forecast.data) > 0