Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 61e8c02

Browse files
committed
add check
1 parent 8f8abb9 commit 61e8c02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/data_sources/gsp/test_gsp_live.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ def test_get_pv_power_from_database(gsp_yields, db_session):
2525
pd.to_datetime(gsp_power.index[0]).isoformat()
2626
== datetime(2022, 1, 1, 0, 0, tzinfo=timezone.utc).isoformat()
2727
)
28+
assert gsp_power.max().max() < 1
29+
# this because units have changed from kw to mw
2830

2931

3032
@freeze_time("2022-01-01 05:00")

0 commit comments

Comments
 (0)