Files
IfcOpenShell/src/ifcbimtester/bimtester/features/steps/ifcdata_methods.py
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
262 B
Python
Raw Normal View History

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)
)