Browse Source

Add more settings for test of build volume limits

These new settings are necessary or the test will get exceptions that these settings don't exist.

Contributes to issue CURA-8868.
Ghostkeeper 3 years ago
parent
commit
f4bcf9d89e
1 changed files with 6 additions and 1 deletions
  1. 6 1
      tests/TestBuildVolume.py

+ 6 - 1
tests/TestBuildVolume.py

@@ -96,7 +96,12 @@ class TestCalculateBedAdhesionSize:
         self.createAndSetGlobalStack(build_volume)
         patched_dictionary = self.setting_property_dict.copy()
         patched_dictionary.update(setting_dict)
-        patched_dictionary.update({"adhesion_extruder_nr": {"value": 0}})
+        patched_dictionary.update({
+            "skirt_brim_extruder_nr": {"value": 0},
+            "raft_base_extruder_nr": {"value": 0},
+            "raft_interface_extruder_nr": {"value": 0},
+            "raft_surface_extruder_nr": {"value": 0}
+        })
         with patch.dict(self.setting_property_dict, patched_dictionary):
             assert build_volume._calculateBedAdhesionSize([]) == result