mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
bimtester: features psets, use quots the same way as in all other features
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user