Files
IfcOpenShell/src/ifcbimtester/bimtester/features/steps/ifcdata_methods.py
T
2020-12-18 17:25:05 +11:00

10 lines
262 B
Python

from utils import IfcFile
def assert_schema(context, target_schema):
real_schema = IfcFile.get().schema
assert real_schema == target_schema, (
_("We expected a schema of {} but instead got {}")
.format(target_schema, real_schema)
)