From 6ae4da8636de915cb4b371f9369a8cf8012e48b1 Mon Sep 17 00:00:00 2001 From: Max Wolschlager Date: Tue, 13 Aug 2024 10:20:14 +0200 Subject: [PATCH] Update tests/data/test_optimization_indexset.py Co-authored-by: Fridolin Glatter <83776373+glatterf42@users.noreply.github.com> --- tests/data/test_optimization_indexset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/data/test_optimization_indexset.py b/tests/data/test_optimization_indexset.py index 82d9381b..2e9614c3 100644 --- a/tests/data/test_optimization_indexset.py +++ b/tests/data/test_optimization_indexset.py @@ -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