diff --git a/src/ifcbimtester/bimtester/features/steps/attributes_psets/de.py b/src/ifcbimtester/bimtester/features/steps/attributes_psets/de.py index b9080143e8..e2f6516e4f 100644 --- a/src/ifcbimtester/bimtester/features/steps/attributes_psets/de.py +++ b/src/ifcbimtester/bimtester/features/steps/attributes_psets/de.py @@ -1,8 +1,9 @@ -from behave import step, use_step_matcher +from behave import step +from behave import use_step_matcher use_step_matcher("parse") -@step("An alle {ifc_class} Bauteile ist im PSet {pset} das Attribut {aproperty} angehängt") +@step('An alle "{ifc_class}" Bauteile ist im PSet "{pset}" das Attribut "{aproperty}" angehängt') def step_impl(context, ifc_class, aproperty, pset): - context.execute_steps(f"all {ifc_class} elements have an {aproperty} property in the {pset} pset") + context.execute_steps(f'* All "{ifc_class}" elements have an "{aproperty}" property in the "{pset}" pset') diff --git a/src/ifcbimtester/bimtester/features/steps/attributes_psets/en.py b/src/ifcbimtester/bimtester/features/steps/attributes_psets/en.py index 3a3f5fb522..ecae7717e1 100644 --- a/src/ifcbimtester/bimtester/features/steps/attributes_psets/en.py +++ b/src/ifcbimtester/bimtester/features/steps/attributes_psets/en.py @@ -1,11 +1,12 @@ -from behave import step, use_step_matcher +from behave import step +from behave import use_step_matcher from bimtester.ifc import IfcStore from bimtester.util import assert_elements from bimtester.lang import _ -@step("All {ifc_class} elements have an {aproperty} property in the {pset} pset") +@step('All "{ifc_class}" elements have an "{aproperty}" property in the "{pset}" pset') def step_impl(context, ifc_class, aproperty, pset): eleclass_has_property_in_pset( context,