mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 02:49:12 +00:00
27 lines
939 B
Python
27 lines
939 B
Python
from behave import step
|
|
|
|
|
|
@step("Es sind keine {ifc_class} Bauteile vorhanden")
|
|
def step_impl(context, ifc_class):
|
|
context.execute_steps(f"* There are no {ifc_class} elements")
|
|
|
|
|
|
@step("Aus folgendem Grund gibt es keine {ifc_class} Bauteile: {reason}")
|
|
def step_impl(context, ifc_class, reason):
|
|
context.execute_steps(f"* There are no {ifc_class} elements because {reason}")
|
|
|
|
|
|
@step("Alle {ifc_class} Bauteilklassenattribute haben einen Wert")
|
|
def step_impl(context, ifc_class):
|
|
context.execute_steps(f"* All {ifc_class} elements class attributes have a value")
|
|
|
|
|
|
@step("Bei allen {ifc_class} Bauteile ist der Name angegeben")
|
|
def step_impl(context, ifc_class):
|
|
context.execute_steps(f"* All {ifc_class} elements have a name given")
|
|
|
|
|
|
@step("Bei allen {ifc_class} Bauteile ist die Beschreibung angegeben")
|
|
def step_impl(context, ifc_class):
|
|
context.execute_steps(f"* All {ifc_class} elements have a description given")
|