bimstester: features, move spatial structure tests from examples to implemented steps

This commit is contained in:
Bernd Hahnebach
2021-12-07 12:16:18 +01:00
parent 3fad28572b
commit c658f7610e
2 changed files with 6 additions and 3 deletions
@@ -1,10 +0,0 @@
from behave import step
from utils import IfcFile
@step("all buildings have an address")
def step_impl(context):
for building in IfcFile.get().by_type("IfcBuilding"):
if not building.BuildingAddress:
assert False, f'The building "{building.Name}" has no address.'