repair osusers.tests.test_admin

- fix test code
- fix error in set_ldap_user_password stub
This commit is contained in:
Jan Dittberner 2015-01-31 23:55:53 +01:00
parent b993053d2a
commit 79b460c4a6
3 changed files with 32 additions and 51 deletions

View file

@ -52,7 +52,7 @@ def create_ldap_user(username, uid, gid, gecos, homedir, shell, password):
@shared_task
def set_ldap_user_password(self, username, password):
def set_ldap_user_password(username, password):
"""
This task sets the password of an existing :py:class:`LDAP user
<ldapentities.models.LdapUser>`.