X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FTest%2FTestBooleanCommon_MultiLevelCompound_v20190506_1.py;h=6864993aeedde05acd597c0f5fe99d969b785e7c;hb=3150815dd00d5d8fa3722e052077403420663872;hp=ddbbf6fa5e4b3b4dd8e8fae086c5e8509b689ab5;hpb=1c211701f7bcc21ef86892d889d7c58e9b276adb;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v20190506_1.py b/src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v20190506_1.py index ddbbf6fa5..6864993ae 100644 --- a/src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v20190506_1.py +++ b/src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v20190506_1.py @@ -77,7 +77,7 @@ Compound_1.result().subResult(0).subResult(0).setColor(0, 170, 0) Compound_1.result().subResult(0).subResult(1).setColor(0, 170, 0) Compound_1.result().subResult(1).subResult(0).setColor(0, 255, 0) Compound_1.result().subResult(1).subResult(1).setColor(0, 255, 0) -Common_1 = model.addCommon(Part_1_doc, [model.selection("SOLID", "LinearCopy_2_1_1_1"), model.selection("COMPOUND", "Compound_1_1_2")], 20190506) +Common_1 = model.addCommon(Part_1_doc, [model.selection("SOLID", "LinearCopy_2_1_1_1"), model.selection("COMPOUND", "Compound_1_1_2")], keepSubResults = True) model.testHaveNamingSubshapes(Common_1, model, Part_1_doc) @@ -86,7 +86,7 @@ model.end() from GeomAPI import GeomAPI_Shape model.testNbResults(Common_1, 1) -model.testNbSubResults(Common_1, [4]) +model.testNbSubResults(Common_1, [3]) model.testNbSubShapes(Common_1, GeomAPI_Shape.SOLID, [7]) model.testNbSubShapes(Common_1, GeomAPI_Shape.FACE, [34]) model.testNbSubShapes(Common_1, GeomAPI_Shape.EDGE, [120])