mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-03 03:47:35 +02:00
add methods for class Roles + unit tests
* adding get_allroles (list all available roles) * adding get_display_name (get display name of a role) * add various unit tests
This commit is contained in:
parent
6949cc71e4
commit
1211ab431b
3 changed files with 45 additions and 0 deletions
|
@ -37,3 +37,7 @@ groups = {
|
|||
|
||||
|
||||
print inv.get_roles(groups)
|
||||
|
||||
print inv.get_allroles()
|
||||
|
||||
print inv.get_backends()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue