diff --git a/src/ifcbimtester/bimtester/features/steps/ifcdata.py b/src/ifcbimtester/bimtester/features/steps/ifcdata.py index 66d004c163..253b660c44 100644 --- a/src/ifcbimtester/bimtester/features/steps/ifcdata.py +++ b/src/ifcbimtester/bimtester/features/steps/ifcdata.py @@ -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)