Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Aug 1, 2024
1 parent deb714d commit 13a916d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tests/test_elexon_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from pydantic_models import BaseModel, SolarForecastResponse


API_URL = "/v0/solar/GB/national/elexon"


Expand Down Expand Up @@ -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

0 comments on commit 13a916d

Please sign in to comment.