[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 0dae887fb5
commit 895c3a88dd

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()