From bc9898beef7fc0893ff1f1dff076233b2125abae Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me?= Date: Fri, 25 Sep 2020 14:35:45 +0200 Subject: [PATCH] fix issue for unitary tests --- src/ConnectorAPI/Test/TestImportSTEP.py | 2 +- src/ConnectorAPI/Test/tests.set | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 ) -- 2.39.2