Salome HOME
Fix for #19707 : fatal error gp_Dir() input vector has zero norm when loading python...
[modules/shaper.git] / src / ModelAPI / Test / Test2903.py
index b97b1e6c1ffc86e51d58ba2e05c03d07e26e773c..5c820d0b5f3d7d3c0fa3cd3c5caf93b98dc48407 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2020  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
@@ -36,6 +36,6 @@ assert(aFactory.validate(Partition_1.feature()))
 # Modify Fuse to add sphere thatwas used in Partition
 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()
-# both fuse and partition must become invalid because both refer to the same object
-assert(not aFactory.validate(Fuse_1.feature()))
+# partition must become invalid because it refers to the same object as fuse
+assert(aFactory.validate(Fuse_1.feature()))
 assert(not aFactory.validate(Partition_1.feature()))