-# 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
# 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()))