X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FFeaturesPlugin%2FTest%2FTestBooleanFuse_ErrorMsg.py;h=ab738f7188784ab6473f5f6f9da2c8ff58302a5b;hb=037fe596b0fb33397a23058aa89594f477c6c77a;hp=d69e7931494a687e747740b268920875aceca73c;hpb=6e421e939851e0de46554ae45a3ca0e1f67cd91d;p=modules%2Fshaper.git diff --git a/src/FeaturesPlugin/Test/TestBooleanFuse_ErrorMsg.py b/src/FeaturesPlugin/Test/TestBooleanFuse_ErrorMsg.py index d69e79314..ab738f718 100644 --- a/src/FeaturesPlugin/Test/TestBooleanFuse_ErrorMsg.py +++ b/src/FeaturesPlugin/Test/TestBooleanFuse_ErrorMsg.py @@ -1,4 +1,4 @@ -# Copyright (C) 2018-2019 CEA/DEN, EDF R&D +# Copyright (C) 2018-2021 CEA/DEN, EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -31,11 +31,13 @@ assert(Fuse_1.feature().error() != "") Part_1_doc.removeFeature(Fuse_1.feature()) Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Partition_1_1_1"), model.selection("SOLID", "Partition_1_1_2")]) -assert(Fuse_1.feature().error() != "") +# after merging Union and Fuse features, fusing of solids in the same composolid should work (issue #3062) +assert(Fuse_1.feature().error() == "") Part_1_doc.removeFeature(Fuse_1.feature()) Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Partition_1_1_1")], [model.selection("SOLID", "Partition_1_1_2")]) -assert(Fuse_1.feature().error() != "") +# after merging Union and Fuse features, fusing of solids in the same composolid should work (issue #3062) +assert(Fuse_1.feature().error() == "") Part_1_doc.removeFeature(Fuse_1.feature()) model.end()