mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
10 lines
321 B
Python
10 lines
321 B
Python
import test.bootstrap
|
|
import ifcopenshell.api
|
|
|
|
|
|
class TestAddOrganisation(test.bootstrap.IFC4):
|
|
def test_adding_an_organisation(self):
|
|
org = ifcopenshell.api.run("owner.add_organisation", self.file, identification="Id", name="Name")
|
|
assert org.Identification == "Id"
|
|
assert org.Name == "Name"
|