mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +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)
|
|
)
|