Fix tests missing assert statement - add assert and fix them

This commit is contained in:
Andrej730
2025-05-15 10:40:46 +05:00
parent 292aca6685
commit b20997dea8
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ class TestGetPorts(NewFile):
element = ifc.createIfcDuctSegment()
port = ifc.createIfcDistributionPort()
ifcopenshell.api.run("system.assign_port", ifc, element=element, port=port)
subject.get_ports(element) == [port]
assert subject.get_ports(element) == [port]
class TestImportSystemAttributes(NewFile):