[TD]fix hatch test script

- test was erroneously adding hatch to page. Hatches only
  belong to DrawViewPart.
This commit is contained in:
wandererfan
2022-11-06 19:32:36 -05:00
committed by WandererFan
parent 3ac40a3778
commit 4ea2cb4cc0

View File

@@ -50,8 +50,6 @@ class DrawHatchTest(unittest.TestCase):
hatch.HatchPattern = (
hatchFileSpec
)
print("adding hatch to page")
self.page.addView(hatch)
print("finished hatch")
FreeCAD.ActiveDocument.recompute()