Skip to content

Commit

Permalink
Fix scenario unit test call (#112)
Browse files Browse the repository at this point in the history
ops-scenario 4.0.3 introduced a breaking change

Since we're not yet pinning dependencies, the CI passed on #111 but
failed on release (since ops-scenario updated)
  • Loading branch information
carlcsaposs-canonical authored Jul 21, 2023
1 parent cbc3a86 commit e4d525a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/scenario_/database_relations/combinations.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def _relation_combinations(
combination: tuple[scenario.Relation]
combinations.append(
[
relation.replace(relation_id=scenario.Relation.next_relation_id())
relation.replace(relation_id=scenario.state.next_relation_id())
for relation in combination
]
)
Expand Down

0 comments on commit e4d525a

Please sign in to comment.