2020-12-21 10:31:05 +01:00
|
|
|
from behave import step
|
|
|
|
|
|
2021-01-08 08:40:48 +01:00
|
|
|
import geometric_detail_methods as gdm
|
2020-12-21 10:31:05 +01:00
|
|
|
from utils import switch_locale
|
|
|
|
|
|
|
|
|
|
|
2021-01-08 08:40:48 +01:00
|
|
|
the_lang = "de"
|
|
|
|
|
|
|
|
|
|
|
2020-12-21 11:28:51 +01:00
|
|
|
@step("Alle {ifc_class} Bauteile müssen eine geometrische Repräsentation der Klasse {representation_class} verwenden")
|
2020-12-21 10:31:05 +01:00
|
|
|
def step_impl(context, ifc_class, representation_class):
|
2021-01-08 08:40:48 +01:00
|
|
|
switch_locale(context.localedir, the_lang)
|
|
|
|
|
gdm.eleclass_has_geometric_representation_of_specific_class(
|
|
|
|
|
context,
|
|
|
|
|
ifc_class,
|
|
|
|
|
representation_class
|
|
|
|
|
)
|