PD: Explicitly switch off AllowCompound for some tests to make them succeed
Fixes #17363
This commit is contained in:
@@ -254,6 +254,7 @@ class TestInvoluteGear(unittest.TestCase):
|
||||
profile.HighPrecision = False
|
||||
profile.NumberOfTeeth = 8
|
||||
body = self.Doc.addObject('PartDesign::Body','GearBody')
|
||||
body.AllowCompound = False
|
||||
body.addObject(profile)
|
||||
cylinder = body.newObject('PartDesign::AdditiveCylinder','GearCylinder')
|
||||
default_dedendum = 1.25
|
||||
|
||||
@@ -70,6 +70,7 @@ class TestMultiTransform(unittest.TestCase):
|
||||
# Arrange
|
||||
Doc = self.Doc
|
||||
Body = Doc.addObject('PartDesign::Body','Body')
|
||||
Body.AllowCompound = False
|
||||
# Make first offset cube Pad
|
||||
PadSketch = Doc.addObject('Sketcher::SketchObject', 'SketchPad')
|
||||
Body.addObject(PadSketch)
|
||||
|
||||
Reference in New Issue
Block a user