bimtester: se gettext for message translation

This commit is contained in:
Bernd Hahnebach
2020-12-18 07:14:42 +01:00
committed by Dion Moult
parent 3ae20637d7
commit 85a78a6e48
13 changed files with 135 additions and 30 deletions
@@ -0,0 +1,9 @@
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)
)