From 45431fab8999d52b799684ed8d2be6aaef66856c Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Wed, 31 Jul 2024 14:33:29 +0100 Subject: [PATCH] upadte url for api --- src/tests/test_elexon_forecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/test_elexon_forecast.py b/src/tests/test_elexon_forecast.py index 666b34c..52422d4 100644 --- a/src/tests/test_elexon_forecast.py +++ b/src/tests/test_elexon_forecast.py @@ -30,7 +30,7 @@ def test_get_elexon_forecast_with_data(mock_data, api_client): ) m.get(url, json=mock_data, headers={"Content-Type": "application/json"}) - response = api_client.get(url) + response = api_client.get('/v0/solar/GB/national/elexon') print("Response Headers:", response.headers) # Assertions assert response.status_code == 200