bimtester: code formating

This commit is contained in:
Bernd Hahnebach
2021-01-07 18:12:23 +01:00
parent 7871dea3ca
commit 8eab1ec4a5
@@ -19,6 +19,7 @@ def step_impl(context, schema):
except:
assert False, f"The schema {schema} could not be loaded"
@step('The IFC file "{file}" must be provided')
def step_impl(context, file):
try:
@@ -26,6 +27,7 @@ def step_impl(context, file):
except:
assert False, f"The file {file} could not be loaded"
@given('The IFC file has been provided through an argument')
def step_impl(context):
try:
@@ -33,6 +35,7 @@ def step_impl(context):
except:
assert False, f"The IFC {context.config.userdata.get('ifcfile')} file could not be loaded"
@given('A file path has been provided through an argument')
def step_impl(context):
try:
@@ -40,6 +43,7 @@ def step_impl(context):
except:
assert False, f"The path {context.config.userdata.get('path')} could not be loaded"
@step("IFC data must use the {schema} schema")
def step_impl(context, schema):
switch_locale(context.localedir, the_lang)