Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 9, 2022
1 parent 727f67a commit 96458e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ def test_get_forecasts_for_a_specific_gsp_from_database(db_session, forecasts):


def test_get_gsp_system_none(db_session):
""" Check get gsp system works with no systems """
"""Check get gsp system works with no systems"""
a = get_gsp_system(session=db_session)
assert len(a) == 0


def test_get_gsp_system_all(db_session, forecasts):
""" Check get gsp system works for all systems """
"""Check get gsp system works for all systems"""
a = get_gsp_system(session=db_session)
assert len(a) == 338


def test_get_gsp_system_one(db_session, forecasts):
""" Check get gsp system works for one system """
"""Check get gsp system works for one system"""
a = get_gsp_system(session=db_session, gsp_id=1)
assert len(a) == 1

0 comments on commit 96458e4

Please sign in to comment.