repair osusers.tests.test_admin
- fix test code - fix error in set_ldap_user_password stub
This commit is contained in:
parent
b993053d2a
commit
79b460c4a6
3 changed files with 32 additions and 51 deletions
|
@ -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>`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue