Fix #1266. Standardise BIMTester quotes, always translate, and refactor.

This commit is contained in:
Dion Moult
2021-02-02 16:37:14 +11:00
parent 7c1a23e5e3
commit c3f7410f76
42 changed files with 583 additions and 780 deletions
@@ -0,0 +1,18 @@
from behave import step
import attributes_psets_methods as apm
from utils import switch_locale
the_lang = "de"
@step("An alle {ifc_class} Bauteile ist im PSet {pset} das Attribut {aproperty} angehängt")
def step_impl(context, ifc_class, aproperty, pset):
switch_locale(context.localedir, the_lang)
apm.eleclass_has_property_in_pset(
context,
ifc_class,
aproperty,
pset
)