organizations: fix python 2.7 test errors
This commit is contained in:
parent
8f400b7110
commit
01912bdca7
2 changed files with 6 additions and 5 deletions
|
|
@ -132,7 +132,7 @@ class FakeOrganizationalUnit(BaseModel):
|
|||
class FakeRoot(FakeOrganizationalUnit):
|
||||
|
||||
def __init__(self, organization, **kwargs):
|
||||
super().__init__(organization, **kwargs)
|
||||
super(FakeRoot, self).__init__(organization, **kwargs)
|
||||
self.type = 'ROOT'
|
||||
self.id = organization.root_id
|
||||
self.name = 'Root'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue