Fix test cases by adopting to new behavior
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
This commit is contained in:
@@ -36,7 +36,7 @@ class PartDesignPadTestCases(unittest.TestCase):
|
||||
TestSketcherApp.CreateSlotPlateSet(self.PadSketch)
|
||||
self.Doc.recompute()
|
||||
self.Pad = self.Doc.addObject("PartDesign::Pad","Pad")
|
||||
self.Pad.Sketch = self.PadSketch
|
||||
self.Pad.Profile = self.PadSketch
|
||||
self.Doc.recompute()
|
||||
self.failUnless(len(self.Pad.Shape.Faces) == 6)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user