]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix test: now it's impossible to select sub-shapes of modified shapes as an input...
authormzn <mzn@opencascade.com>
Thu, 23 Aug 2018 12:07:50 +0000 (15:07 +0300)
committermzn <mzn@opencascade.com>
Thu, 23 Aug 2018 14:43:09 +0000 (17:43 +0300)
test.API/SHAPER/Transformations/TestSymmetry.py

index eb7617b25af10144943797fc7a4ebff961834e03..e32052e06835f161a7497853b346354d793df1c6 100644 (file)
@@ -185,11 +185,7 @@ model.testNbSubShapes(Symmetry_9, GeomAPI_Shape.SOLID, [2])
 model.testNbSubShapes(Symmetry_9, GeomAPI_Shape.FACE, [12])
 model.testHaveNamingFaces(Symmetry_9, model, Part_1_doc)
 
-model.testNbResults(Symmetry_10, 1)
-model.testNbSubResults(Symmetry_10, [2])
-model.testNbSubShapes(Symmetry_10, GeomAPI_Shape.SOLID, [2])
-model.testNbSubShapes(Symmetry_10, GeomAPI_Shape.FACE, [12])
-model.testHaveNamingFaces(Symmetry_10, model, Part_1_doc)
+model.testNbResults(Symmetry_10, 0)
 
 model.testNbResults(Symmetry_11, 1)
 model.testNbSubResults(Symmetry_11, [2])
@@ -221,11 +217,7 @@ model.testNbSubShapes(Symmetry_16, GeomAPI_Shape.SOLID, [2])
 model.testNbSubShapes(Symmetry_16, GeomAPI_Shape.FACE, [12])
 model.testHaveNamingFaces(Symmetry_16, model, Part_1_doc)
 
-model.testNbResults(Symmetry_17, 1)
-model.testNbSubResults(Symmetry_17, [2])
-model.testNbSubShapes(Symmetry_17, GeomAPI_Shape.SOLID, [2])
-model.testNbSubShapes(Symmetry_17, GeomAPI_Shape.FACE, [12])
-model.testHaveNamingFaces(Symmetry_17, model, Part_1_doc)
+model.testNbResults(Symmetry_17, 0)
 
 model.testNbResults(Symmetry_18, 1)
 model.testNbSubResults(Symmetry_18, [2])