mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-26 03:04:30 +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 the list of backends in roles file"""
|
||||||
return self.backends
|
return self.backends
|
||||||
|
|
||||||
def get_addattributes(self):
|
def get_attributes(self):
|
||||||
"""get the list of groups from roles"""
|
"""get the list of groups from roles"""
|
||||||
pass
|
return self.self_attributes
|
||||||
|
@ -15,7 +15,7 @@ class TestError(object):
|
|||||||
|
|
||||||
def testNominal(self):
|
def testNominal(self):
|
||||||
inv = Attributes('./tests/cfg/attributes.yml')
|
inv = Attributes('./tests/cfg/attributes.yml')
|
||||||
inv.get_attributes
|
inv.get_attributes()
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def testGetSelfAttributes(self):
|
def testGetSelfAttributes(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user