Skip to content

Commit

Permalink
Update tests/data/test_optimization_indexset.py
Browse files Browse the repository at this point in the history
Co-authored-by: Fridolin Glatter <[email protected]>
  • Loading branch information
meksor and glatterf42 authored Aug 13, 2024
1 parent 460ed27 commit 93c776d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/data/test_optimization_indexset.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test_add_elements(self, platform: ixmp4.Platform):
elements=test_elements, # type: ignore
)
indexset_1 = platform.backend.optimization.indexsets.get(
run_id=run.id, name="Indexset 1"
run_id=run.id, name=indexset_1.name
)

platform.backend.optimization.indexsets.add_elements(
Expand Down

0 comments on commit 93c776d

Please sign in to comment.