bimtester: steps, add more attributes tests

This commit is contained in:
Bernd Hahnebach
2020-12-22 14:34:04 +01:00
parent 6dfeaf5509
commit 4df8418e72
4 changed files with 108 additions and 0 deletions
@@ -1,6 +1,15 @@
from behave import step
from attributes_psets_methods import all_eleclass_elements_have_prop_in_pset
from utils import assert_elements
from utils import IfcFile
from utils import switch_locale
@step("all {ifc_class} elements have an {aproperty} property in the {pset} pset")
def step_impl(context, ifc_class, aproperty, pset):
switch_locale(context.localedir, "en")
all_eleclass_elements_have_prop_in_pset(context, ifc_class, aproperty, pset)
# ------------------------------------------------------------------------