mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-03 11:57:41 +02:00
simplify roles configuration (backend groups)
This commit is contained in:
parent
2b52e121d1
commit
1735f5da20
9 changed files with 171 additions and 194 deletions
|
@ -62,8 +62,8 @@ class TestError(object):
|
|||
inv = Roles('./tests/cfg/roles.yml')
|
||||
res = inv.get_groups('users')
|
||||
expected = {
|
||||
'ad': {'groups': ['Domain Users']},
|
||||
'ldap': {'groups': ['cn=users,ou=group,dc=example,dc=com']}
|
||||
'ad': ['Domain Users'],
|
||||
'ldap': ['cn=users,ou=group,dc=example,dc=com']
|
||||
}
|
||||
assert res == expected
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue