diff options
author | Ghostkeeper <rubend@tutanota.com> | 2022-01-12 19:55:33 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2022-01-12 19:55:33 +0300 |
commit | f4bcf9d89e56ae3d91ed8cdbefe0e68214e578b5 (patch) | |
tree | 35121a9d9bcfc84d7fddc762d9430c36e09382c0 /tests | |
parent | 403d92a7601fcbeed6472c5fd6f076b47d612cb2 (diff) |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/TestBuildVolume.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/TestBuildVolume.py b/tests/TestBuildVolume.py index f59d83df5e..843b9e9d12 100644 --- a/tests/TestBuildVolume.py +++ b/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 |