Skip to content

Commit

Permalink
Removed now_cast dataset tests (#326)
Browse files Browse the repository at this point in the history
* removed nowcasting_dataset

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* removed realted test

* Merge branch 'nowcast_dataset' of https://github.com/roshnaeem/uk-pv-national-gsp-api into nowcast_dataset

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
roshnaeem and pre-commit-ci[bot] authored Mar 11, 2024
1 parent 23dc9ff commit f26d6a9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/tests/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,3 @@ def test_get_gsp_systems(db_session, api_client):
locations = [Location(**location) for location in response.json()]
assert len(locations) == 10
assert locations[1].installed_capacity_mw == 1.1


def test_gsp_boundaries(db_session, api_client):
"""Check main system/GB/gsp/boundaries"""

app.dependency_overrides[get_session] = lambda: db_session

response = api_client.get("/v0/system/GB/gsp/boundaries")
assert response.status_code == 200
assert len(response.json()) > 0

0 comments on commit f26d6a9

Please sign in to comment.