From 93c776d9f216788e64780d7641016a4e5e0ad729 Mon Sep 17 00:00:00 2001 From: Max Wolschlager Date: Tue, 13 Aug 2024 10:20:48 +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 ec0d0cc7..18500c1b 100644 --- a/tests/data/test_optimization_indexset.py +++ b/tests/data/test_optimization_indexset.py @@ -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(