Add sentences to exempt IFC files from BIMTester auditing

This commit is contained in:
Dion Moult
2019-11-21 09:46:37 +11:00
parent 9a18198988
commit ad504ff081
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -16,6 +16,10 @@ class IfcFile(object):
def step_impl(context, file):
IfcFile.load(file)
@given('the IFC file "{file}" exists')
def step_impl(context, file):
assert True
@given('that an IFC file is loaded')
def step_impl(context):
assert IfcFile.get()
@@ -31,3 +35,7 @@ def step_impl(context, id, ifc_class):
@then('the element {id} should not exist because {reason}')
def step_impl(context, id, reason):
assert not IfcFile.get().by_id(id)
@then('the file is exempt from auditing because {reason}')
def step_impl(context, id, reason):
assert True