mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-03 20:07:42 +02:00
list of roles and not a uniq role for get_groups
This commit is contained in:
parent
af5fd8eeae
commit
01de849204
2 changed files with 11 additions and 5 deletions
|
@ -69,7 +69,7 @@ class TestError(object):
|
|||
|
||||
def testGetGroup(self):
|
||||
inv = Roles('./tests/cfg/roles.yml')
|
||||
res = inv.get_groups('users')
|
||||
res = inv.get_groups(['users'])
|
||||
expected = {
|
||||
'ad': ['Domain Users'],
|
||||
'ldap': ['cn=users,ou=group,dc=example,dc=com']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue