Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhroom committed Nov 7, 2024
1 parent 667d947 commit d491011
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/widgets/project/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ def test_layer_model_append():
init_list = RATapi.ClassList()
init_list._class_handle = RATapi.models.Layer
model = LayersModel(init_list, parent)
model.parent = MagicMock()

model.append_item()

Expand All @@ -305,6 +306,7 @@ def test_layer_model_set_absorption():
)

model = LayersModel(init_list, parent)
model.parent = MagicMock()

model.set_absorption(True)
for expected, actual in zip(init_list, model.classlist):
Expand Down

0 comments on commit d491011

Please sign in to comment.