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 93c776d commit 7636130
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 @@ -112,7 +112,7 @@ def test_tabulate_indexsets(self, platform: ixmp4.Platform):
expected = df_from_list(indexsets=[indexset_1])
pdt.assert_frame_equal(
expected,
platform.backend.optimization.indexsets.tabulate(name="Indexset 1"),
platform.backend.optimization.indexsets.tabulate(name=indexset_1.name),
)
# Test only indexsets belonging to this Run are tabulated if run_id is provided
run_2 = platform.backend.runs.create("Model", "Scenario")
Expand Down

0 comments on commit 7636130

Please sign in to comment.