tests for system.get_connected_to / get_connected_from

This commit is contained in:
Andrej730
2023-08-01 13:37:59 +05:00
parent c5c8a3ba0b
commit bd6e4fbd64
2 changed files with 28 additions and 2 deletions
@@ -84,7 +84,6 @@ def get_connected_port(port):
return rel.RelatingPort
# TODO: cover in tests
def get_connected_to(element):
results = []
for port in ifcopenshell.util.system.get_ports(element):
@@ -102,7 +101,6 @@ def get_connected_to(element):
return results
# TODO: cover in tests
def get_connected_from(element):
results = []
for port in ifcopenshell.util.system.get_ports(element):