Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 1a3f381

Browse files
committed
update extended gsp load test
1 parent 764996f commit 1a3f381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/load/gsp/test_gsp_live.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def test_get_gsp_power_from_database(gsp_yields, db_session):
1717
"""Get GSP power from database"""
1818

1919
gsp_power, gsp_nominal_capacity, gsp_effective_capacity = get_gsp_power_from_database(
20-
history_duration=timedelta(hours=1), interpolate_minutes=30, load_extra_minutes=0
20+
history_duration=timedelta(hours=10), interpolate_minutes=30, load_extra_minutes=0
2121
)
2222

23-
assert len(gsp_power) == 3 # 1 hours at 30 mins + 1
23+
assert len(gsp_power) == 21 # 1 hours at 30 mins + 1
2424
assert len(gsp_power.columns) == 5
2525
assert gsp_power.columns[0] == 1
2626
assert (

0 commit comments

Comments
 (0)