mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 21:32:29 +00:00
bimtester: steps, add more attributes tests
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
# ------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user