mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
by_type now returns tuple - update annotations and fix failing tests
This commit is contained in:
@@ -75,7 +75,7 @@ class TestUnsharePsets(test.bootstrap.IFC4):
|
||||
rel.RelatedObjects = elements
|
||||
|
||||
ifcpatch.execute({"file": self.file, "recipe": "UnsharePsets", "arguments": ["IfcWall"]})
|
||||
assert len(psets := self.file.by_type("IfcPropertySet")) == 4
|
||||
assert len(psets := list(self.file.by_type("IfcPropertySet"))) == 4
|
||||
assert len(self.file.by_type("IfcRelDefinesByProperties")) == 4
|
||||
|
||||
psets.remove(shared_pset)
|
||||
|
||||
Reference in New Issue
Block a user