implement tearDown to close document

This commit is contained in:
wmayer 2017-02-18 21:34:19 +01:00
parent 48f9987172
commit 845d6766f9

View File

@ -89,3 +89,7 @@ class PartTestBSplineCurve(unittest.TestCase):
# spline.setKnots()
# spline.setOrigin(2) # not working?
self.spline.setPole(1, App.Vector([1, 0, 0])) # first parameter 0 gives occ error
def tearDown(self):
#closing doc
FreeCAD.closeDocument("PartTest")