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 effc539 commit 6ae4da8
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 @@ -184,6 +184,6 @@ def test_add_elements(self, platform: ixmp4.Platform):
elements=test_elements_2, # type:ignore
)
indexset_5 = platform.backend.optimization.indexsets.get(
run_id=run.id, name="IndexSet 5"
run_id=run.id, name=indexset_5.name
)
assert indexset_5.elements == test_elements_2

0 comments on commit 6ae4da8

Please sign in to comment.