From a98b4918226cfda12b3f1832b9943ba3de609583 Mon Sep 17 00:00:00 2001 From: Carl Csaposs Date: Fri, 21 Jul 2023 15:20:00 +0000 Subject: [PATCH] Fix scenario unit test call (#57) ops-scenario 4.0.3 introduced a breaking change Since we're not yet pinning dependencies, the CI passed on #56 but failed on release (since ops-scenario updated) --- tests/unit/scenario_/database_relations/combinations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/scenario_/database_relations/combinations.py b/tests/unit/scenario_/database_relations/combinations.py index 558f0586..06fe6547 100644 --- a/tests/unit/scenario_/database_relations/combinations.py +++ b/tests/unit/scenario_/database_relations/combinations.py @@ -19,7 +19,7 @@ def _relation_combinations( combination: tuple[scenario.SubordinateRelation] combinations.append( [ - relation.replace(relation_id=scenario.SubordinateRelation.next_relation_id()) + relation.replace(relation_id=scenario.state.next_relation_id()) for relation in combination ] )