mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-28 03:05:33 +00:00
10 lines
262 B
Python
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)
|
||
|
|
)
|