mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 19:34:34 +00:00
bimtester: code formating
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user