Tests: Make PD and Sketcher tests independent of user settings

The Refine property must be explicitly set as otherwise some tests will break because of different user settings
This commit is contained in:
wmayer
2024-07-01 21:08:47 +02:00
committed by Chris Hennes
parent a97713a2c2
commit c2d5bf03a1
3 changed files with 6 additions and 0 deletions

View File

@@ -493,6 +493,7 @@ class TestSketcherSolver(unittest.TestCase):
body.addObject(sketch1)
self.Doc.recompute()
hole = self.Doc.addObject("PartDesign::Hole", "Hole")
hole.Refine = True
body.addObject(hole)
hole.Profile = sketch1
hole.Diameter = 0.250000