better mis example

This commit is contained in:
kakwa 2015-06-28 23:45:28 +02:00
parent 2bfd54210f
commit f993695a7a
1 changed files with 6 additions and 0 deletions

View File

@ -39,3 +39,9 @@ def loadconf(configfile, instance):
app = LdapCherry()
loadconf('./tests/cfg/ldapcherry.ini', app)
ret = app._get_user('ssmith')
print ret
}
form = {'groups': {}, 'attrs': {'password1': u'password☭', 'password2': u'password☭', 'shell': u'/bin/zsh', 'cn': u'Test ☭ Test', 'name': u'Test ☭', 'uidNumber': u'1000', 'gidNumber': u'1000', 'home': u'/home/test', 'first-name': u'Test ☭', 'email': u'test@test.fr', 'uid': u'test'}, 'roles': {'admin-lv3': u'on', 'admin-lv2': u'on', 'users': u'on'}}