small code-style fixes

This commit is contained in:
Dmitry Gribenchuk 2024-10-17 11:24:48 +03:00
parent aaff84ce77
commit 863569b7de
No known key found for this signature in database
GPG key ID: A76A250718E76E87
8 changed files with 7 additions and 12 deletions

View file

@ -75,5 +75,4 @@ def test_updateMaxBuildPlate(objects_model, multi_build_plate_model):
# And check what happens if we move down again!
controller._calcMaxBuildPlate = MagicMock(return_value=2)
controller.updateMaxBuildPlate(SceneNode())
assert controller._active_build_plate == 0 # We don't have any items anywhere, so default to 0
assert controller._active_build_plate == 0 # We don't have any items anywhere, so default to 0