1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-11 12:08:51 +01:00

adding get_attributes

This commit is contained in:
kakwa 2015-05-18 15:04:36 +02:00
parent 49de542fb9
commit ab841b5baf
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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):