Toponaming: adjust tests

This commit is contained in:
bgbsww
2024-05-18 12:55:15 -04:00
committed by Chris Hennes
parent a17bf278c4
commit 9decb98c71
3 changed files with 4 additions and 2 deletions

View File

@@ -580,7 +580,8 @@ class TestTopologicalNamingProblem(unittest.TestCase):
self.Doc.recompute()
# Assert
self.assertEqual(len(body.Shape.childShapes()), 1)
self.assertEqual(body.Shape.childShapes()[0].ElementMapSize, 30)
# The next size can vary based on tOCCT version (26 or 30), so we accept having entries.
self.assertGreaterEqual(body.Shape.childShapes()[0].ElementMapSize, 26)
def testPartDesignElementMapPocket(self):
pass # TODO