mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
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:
parent
403d92a760
commit
f4bcf9d89e
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue