mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
See #3581. Fix failing IOS tests.
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -46,5 +46,6 @@ class TestPsetQto:
|
||||
names = self.pset_qto.get_applicable_names("IfcWall")
|
||||
assert "Pset_WallCommon" in names
|
||||
names = self.pset_qto.get_applicable_names("IfcWallType")
|
||||
assert len(names) == 5
|
||||
assert len(names) == 6
|
||||
assert "Pset_WallCommon" in names
|
||||
assert "Qto_WallBaseQuantities" in names # Backported fix for IFC4
|
||||
|
||||
Reference in New Issue
Block a user