mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-20 12:12:15 +00:00
Run black on IfcOpenShell-python.
This commit is contained in:
@@ -5,11 +5,16 @@ import ifcopenshell.api
|
||||
class TestEditOrganisation(test.bootstrap.IFC4):
|
||||
def test_editing_a_organisation(self):
|
||||
organisation = self.file.createIfcOrganization()
|
||||
ifcopenshell.api.run("owner.edit_organisation", self.file, organisation=organisation, attributes={
|
||||
"Identification": "Identification",
|
||||
"Name": "Name",
|
||||
"Description": "Description",
|
||||
})
|
||||
ifcopenshell.api.run(
|
||||
"owner.edit_organisation",
|
||||
self.file,
|
||||
organisation=organisation,
|
||||
attributes={
|
||||
"Identification": "Identification",
|
||||
"Name": "Name",
|
||||
"Description": "Description",
|
||||
},
|
||||
)
|
||||
assert organisation.Identification == "Identification"
|
||||
assert organisation.Name == "Name"
|
||||
assert organisation.Description == "Description"
|
||||
|
||||
Reference in New Issue
Block a user