From f26d6a9c8d7b455d4b57cbe0520449d170ca808d Mon Sep 17 00:00:00 2001 From: Rosheen Naeem Date: Mon, 11 Mar 2024 20:49:28 +0100 Subject: [PATCH] Removed now_cast dataset tests (#326) * 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> --- src/tests/test_system.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/tests/test_system.py b/src/tests/test_system.py index 9ae9efb5..ca3ec269 100644 --- a/src/tests/test_system.py +++ b/src/tests/test_system.py @@ -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