mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
bimtester: improve submodule handling for step translation
This commit is contained in:
committed by
Dion Moult
parent
f00040c7d9
commit
90f225e93b
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user