From 8eab1ec4a5c3d1a1c590e28af842d4315733a1b5 Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Thu, 7 Jan 2021 18:12:23 +0100 Subject: [PATCH] bimtester: code formating --- src/ifcbimtester/bimtester/features/steps/ifcdata.py | 4 ++++ 1 file changed, 4 insertions(+) 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)