mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 05:11:04 -07:00
Fix situation where _calculateMoveFromWallRadius could cause exception
This commit is contained in:
parent
4018c24b4c
commit
f842769c1d
2 changed files with 6 additions and 3 deletions
|
|
@ -255,9 +255,10 @@ class TestGetEdgeDisallowedSize:
|
|||
def test_unknownAdhesion(self, build_volume: BuildVolume):
|
||||
build_volume._global_container_stack = self.createMockedStack()
|
||||
with patch("cura.Settings.ExtruderManager.ExtruderManager.getInstance"):
|
||||
with pytest.raises(Exception):
|
||||
#with pytest.raises(Exception):
|
||||
# Since we don't have any adhesion set, this should break.
|
||||
build_volume.getEdgeDisallowedSize()
|
||||
|
||||
build_volume.getEdgeDisallowedSize()
|
||||
|
||||
def test_oneAtATime(self, build_volume: BuildVolume):
|
||||
build_volume._global_container_stack = self.createMockedStack()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue