]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/Test/Test2903.py
Salome HOME
updated copyright message
[modules/shaper.git] / src / ModelAPI / Test / Test2903.py
index c66ce71ef9ebf6b10dad12e7ef25586ca23be661..190eabe20d0762d07b6a4ef3cb828c9ab71ee6d1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -37,5 +37,5 @@ assert(aFactory.validate(Partition_1.feature()))
 Fuse_1.setMainObjects([model.selection("COMPOUND", "all-in-Box_1"), model.selection("COMPOUND", "all-in-Cylinder_1"), model.selection("COMPOUND", "all-in-Sphere_1")])
 model.end()
 # partition must become invalid because it refers to the same object as fuse
-assert(not aFactory.validate(Fuse_1.feature()))
-assert(aFactory.validate(Partition_1.feature()))
+assert(aFactory.validate(Fuse_1.feature()))
+assert(not aFactory.validate(Partition_1.feature()))