Skip to content

Commit ffd6071

Browse files
committed
Fix Grid.uptake test by making sure variables are initialized
1 parent 4885fa4 commit ffd6071

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_grid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def test_degradation_runs(grid):
2828

2929
def test_uptake_runs(grid):
3030
"""Test that Grid.uptake works without an error."""
31+
grid.degradation(0) # degradation needs to run to initialize some DataFrames
3132
grid.uptake(0)
3233

3334

0 commit comments

Comments
 (0)