Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / FeaturesPlugin / Test / TestBooleanFuse_MultiLevelCompound_v0_3.py
index 4e209565d622cb93ad04719aa87b07dfbfc922ea..64de0bacc28028fc518661fe1cf6f9c9c7ce3982 100644 (file)
@@ -76,19 +76,6 @@ Edge_1 = model.addEdge(Part_1_doc, [model.selection("EDGE", "Sketch_2/SketchLine
 Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("EDGE", "Edge_1_1")], model.selection("EDGE", "PartSet/OZ"), 13, 3)
 Compound_1 = model.addCompound(Part_1_doc, [model.selection("COMPSOLID", "Extrusion_1_1"), model.selection("FACE", "Extrusion_2_1")])
 Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Compound_1_1_1_1")], [model.selection("SOLID", "LinearCopy_2_1_1_1"), model.selection("FACE", "Compound_1_1_2")], True)
-
-model.testHaveNamingSubshapes(Fuse_1, model, Part_1_doc)
-
 model.end()
 
-from GeomAPI import GeomAPI_Shape
-
-model.testNbResults(Fuse_1, 1)
-model.testNbSubResults(Fuse_1, [2])
-model.testNbSubShapes(Fuse_1, GeomAPI_Shape.SOLID, [2])
-model.testNbSubShapes(Fuse_1, GeomAPI_Shape.FACE, [16])
-model.testNbSubShapes(Fuse_1, GeomAPI_Shape.EDGE, [78])
-model.testNbSubShapes(Fuse_1, GeomAPI_Shape.VERTEX, [156])
-model.testResultsVolumes(Fuse_1, [1589.048622670478835])
-
-assert(model.checkPythonDump())
+assert(Fuse_1.feature().error() != "")