See #3581. Fix failing IOS tests.

This commit is contained in:
Dion Moult
2023-08-24 22:12:30 +10:00
parent d4e2d3d2dd
commit b708100c03
4 changed files with 3 additions and 4 deletions
@@ -54,7 +54,6 @@ class TestRemoveInformation(test.bootstrap.IFC4):
project = self.file.createIfcProject()
information = ifcopenshell.api.run("document.add_information", self.file, parent=None)
information2 = ifcopenshell.api.run("document.add_information", self.file, parent=information)
ifcopenshell.api.run("document.add_reference", self.file, information=information)
ifcopenshell.api.run("document.add_reference", self.file, information=information2)
ifcopenshell.api.run("document.remove_information", self.file, information=information)
assert len(self.file.by_type("IfcDocumentInformation")) == 0
@@ -18,6 +18,7 @@
import test.bootstrap
import ifcopenshell.api
import ifcopenshell.util.constraint
class TestCalculateResourceWork(test.bootstrap.IFC4):