Browse Source

Fix TestCuraSceneNode

CURA-6522
Nino van Hooff 5 years ago
parent
commit
4ad954f23e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/TestCuraSceneNode.py

+ 3 - 0
tests/TestCuraSceneNode.py

@@ -13,6 +13,9 @@ class MockedConvexHullDecorator(SceneNodeDecorator):
     def getConvexHull(self):
         return Polygon([[5, 5], [-5, 5], [-5, -5], [5, -5]])
 
+    def getPrintingArea(self):
+        return Polygon([[5, 5], [-5, 5], [-5, -5], [5, -5]])
+
 
 class InvalidConvexHullDecorator(SceneNodeDecorator):
     def __init__(self):