bimtester: features psets, use quots the same way as in all other features

This commit is contained in:
Bernd Hahnebach
2021-11-18 18:16:37 +01:00
parent f0d6500539
commit 9728c4d345
2 changed files with 7 additions and 5 deletions
@@ -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')
@@ -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,