Skip to content

Commit

Permalink
fix(tests): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maugde committed Oct 8, 2024
1 parent 634def3 commit e1e1e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/variantstudy/model/command/test_create_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_apply(
assert (study_path / "input" / "hydro" / "allocation" / f"{area_id}.ini").exists()
allocation = configparser.ConfigParser()
allocation.read(study_path / "input" / "hydro" / "allocation" / f"{area_id}.ini")
assert int(allocation["[allocation"][area_id]) == 1
assert int(allocation["[allocation]"][area_id]) == 1

# Capacity
assert (study_path / "input" / "hydro" / "common" / "capacity" / f"maxpower_{area_id}.txt.link").exists()
Expand Down

0 comments on commit e1e1e32

Please sign in to comment.