From: Jérôme Date: Fri, 25 Sep 2020 12:35:45 +0000 (+0200) Subject: fix issue for unitary tests X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bc9898beef7fc0893ff1f1dff076233b2125abae;p=modules%2Fshaper.git fix issue for unitary tests --- diff --git a/src/ConnectorAPI/Test/TestImportSTEP.py b/src/ConnectorAPI/Test/TestImportSTEP.py index f6094c1d2..f58393477 100644 --- a/src/ConnectorAPI/Test/TestImportSTEP.py +++ b/src/ConnectorAPI/Test/TestImportSTEP.py @@ -80,7 +80,7 @@ def testImportSTEP(): model.testNbSubShapes(Import_1, GeomAPI_Shape.SOLID, [2]) aCompositeFeature = featureToCompositeFeature(Import_1_Feature) - assert aCompositeFeature.numberOfSubs(False) == 2 + assert aCompositeFeature.numberOfSubs(False) == 4 aFeature1 = aCompositeFeature.subFeature(0, False) assert aFeature1.getKind() == "Group" diff --git a/src/ConnectorAPI/Test/tests.set b/src/ConnectorAPI/Test/tests.set index 31e182ca7..3f4eb7ec2 100644 --- a/src/ConnectorAPI/Test/tests.set +++ b/src/ConnectorAPI/Test/tests.set @@ -28,4 +28,5 @@ SET(TEST_NAMES Test18887 Test3195 TestExportSTL + TestImportSTEP )