deprecate non-batching api #4474

This commit is contained in:
Andrej730
2024-06-26 17:15:48 +05:00
parent 13d61f0135
commit 24e16d97f3
3 changed files with 7 additions and 426 deletions
@@ -29,7 +29,7 @@ class TestRemoveSystem(test.bootstrap.IFC4):
def test_removing_orphaned_group_relationships(self):
element = ifcopenshell.api.run("root.create_entity", self.file, ifc_class="IfcFlowTerminal")
system = ifcopenshell.api.run("system.add_system", self.file, ifc_class="IfcSystem")
ifcopenshell.api.run("system.assign_system", self.file, product=element, system=system)
ifcopenshell.api.run("system.assign_system", self.file, products=[element], system=system)
ifcopenshell.api.run("system.remove_system", self.file, system=system)
assert not self.file.by_type("IfcRelAssignsToGroup")