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.
This commit is contained in:
Ghostkeeper 2022-01-12 17:55:33 +01:00
parent 403d92a760
commit f4bcf9d89e
No known key found for this signature in database
GPG Key ID: D2A8871EE34EC59A

View File

@ -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