mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 01:14:21 +01:00
adding get_attributes
This commit is contained in:
parent
49de542fb9
commit
ab841b5baf
@ -54,6 +54,6 @@ class Attributes:
|
||||
"""return the list of backends in roles file"""
|
||||
return self.backends
|
||||
|
||||
def get_addattributes(self):
|
||||
def get_attributes(self):
|
||||
"""get the list of groups from roles"""
|
||||
pass
|
||||
return self.self_attributes
|
||||
|
@ -15,7 +15,7 @@ class TestError(object):
|
||||
|
||||
def testNominal(self):
|
||||
inv = Attributes('./tests/cfg/attributes.yml')
|
||||
inv.get_attributes
|
||||
inv.get_attributes()
|
||||
return True
|
||||
|
||||
def testGetSelfAttributes(self):
|
||||
|
Loading…
Reference in New Issue
Block a user