]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
fix issue for unitary tests
authorJérôme <jerome.lucas@cesgenslab.fr>
Fri, 25 Sep 2020 12:35:45 +0000 (14:35 +0200)
committerJérôme <jerome.lucas@cesgenslab.fr>
Fri, 25 Sep 2020 12:35:45 +0000 (14:35 +0200)
src/ConnectorAPI/Test/TestImportSTEP.py
src/ConnectorAPI/Test/tests.set

index f6094c1d29bc7ebbf4a2c64b217619a5e5b5a711..f583934777d5bb808dbb2ac668ee1dd0889d190c 100644 (file)
@@ -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"
index 31e182ca71e9349eb41828a1f98279c27f0cc16e..3f4eb7ec23f3d45d17a89250f0f8b7dca05c5482 100644 (file)
@@ -28,4 +28,5 @@ SET(TEST_NAMES
   Test18887
   Test3195
   TestExportSTL
+  TestImportSTEP
 )