mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08: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
@ -96,7 +96,12 @@ class TestCalculateBedAdhesionSize:
|
|||||||
self.createAndSetGlobalStack(build_volume)
|
self.createAndSetGlobalStack(build_volume)
|
||||||
patched_dictionary = self.setting_property_dict.copy()
|
patched_dictionary = self.setting_property_dict.copy()
|
||||||
patched_dictionary.update(setting_dict)
|
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):
|
with patch.dict(self.setting_property_dict, patched_dictionary):
|
||||||
assert build_volume._calculateBedAdhesionSize([]) == result
|
assert build_volume._calculateBedAdhesionSize([]) == result
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user