mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 20:37:48 +02:00
change backend key name in attributes + methods
* adding get_backends * adding get_selfattributes (attributes users can change themselves) * adding unit tests * rename backend-attributes -> bakends (for homogeneity with role.yml)
This commit is contained in:
parent
a71093038c
commit
7cdbe459b6
8 changed files with 211 additions and 29 deletions
|
@ -15,4 +15,8 @@ class CustomDumper(yaml.SafeDumper):
|
|||
def ignore_aliases(self, _data):
|
||||
return True
|
||||
|
||||
inv = Attributes('./conf/attributes.yml')
|
||||
try:
|
||||
#inv = Attributes('./conf/attributes.yml')
|
||||
inv = Attributes('./tests/cfg/attributes_wrong_type.yml')
|
||||
except Exception as e:
|
||||
print e.log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue