mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
authorisation -> authorization in header schema for compatibility
This commit is contained in:
@@ -26,9 +26,9 @@ class TestCreateFile(test.bootstrap.IFC4):
|
||||
assert ifc.schema == "IFC4"
|
||||
ifc = ifcopenshell.api.project.create_file(version="IFC2X3")
|
||||
assert ifc.schema == "IFC2X3"
|
||||
assert ifc.wrapped_data.header.file_name.name == "/dev/null"
|
||||
assert ifc.wrapped_data.header.file_name.time_stamp
|
||||
assert "IfcOpenShell" in ifc.wrapped_data.header.file_name.preprocessor_version
|
||||
assert "IfcOpenShell" in ifc.wrapped_data.header.file_name.originating_system
|
||||
assert ifc.wrapped_data.header.file_name.authorization == "Nobody"
|
||||
assert ifc.wrapped_data.header.file_description.description == ("ViewDefinition[DesignTransferView]",)
|
||||
assert ifc.header.file_name.name == "/dev/null"
|
||||
assert ifc.header.file_name.time_stamp
|
||||
assert "IfcOpenShell" in ifc.header.file_name.preprocessor_version
|
||||
assert "IfcOpenShell" in ifc.header.file_name.originating_system
|
||||
assert ifc.header.file_name.authorization == "Nobody"
|
||||
assert ifc.header.file_description.description == ("ViewDefinition[DesignTransferView]",)
|
||||
|
||||
Reference in New Issue
Block a user