bimtester: improve submodule handling for step translation

This commit is contained in:
Bernd Hahnebach
2020-12-16 08:33:39 +01:00
committed by Dion Moult
parent f00040c7d9
commit 90f225e93b
4 changed files with 32 additions and 13 deletions
@@ -78,3 +78,10 @@ def assert_pset(element, pset_name, prop_name=None, value=None):
assert actual_value == value, 'We expected a value of "{}" but instead got "{}" for the element {}'.format(
value, actual_value, element
)
def assert_schema(real_schema, target_schema):
assert real_schema == target_schema, (
"We expected a schema of {} but instead got {}"
.format(target_schema, real_schema)
)