Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
amickan committed Dec 9, 2024
1 parent a754590 commit 79df460
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/tests/algorithms_tests/test_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,11 @@ def test_set_as_default_initial_value(self):
)
assert form.fields["set_as_default"].initial

alg.interfaces.add(AlgorithmInterfaceFactory())
alg.interfaces.add(
AlgorithmInterfaceFactory(), through_defaults={"is_default": True}
)

del alg.default_interface

form = AlgorithmInterfaceGetOrCreateForm(
algorithm=alg,
Expand Down

0 comments on commit 79df460

Please sign in to comment.