Replaced Tooltable with Tool in the TC;

Added PropertyTool;
Fixed sanity check.
This commit is contained in:
Markus Lampert
2017-06-04 22:04:42 -07:00
parent 7d39669948
commit c4cb45c1b4
8 changed files with 221 additions and 44 deletions

View File

@@ -59,7 +59,7 @@ class PathPostTestCases(unittest.TestCase):
tc = FreeCAD.ActiveDocument.addObject("Path::FeaturePython",'TC')
PathScripts.PathLoadTool.LoadTool(tc)
PathScripts.PathUtils.addToJob(tc, "Job")
tc.Tooltable.setTool(2, tool1)
tc.Tool = tool1
tc.ToolNumber = 2
self.failUnless(True)