Commit graph

5 commits

Author SHA1 Message Date
Jan Dittberner 427fdd9c03 Fix compatibility with Django 2.2 and other dependencies
- drop mockldap in favour of volatildap
- fix URLs and settings
- fix tests
2020-03-02 15:40:08 +01:00
Jan Dittberner 2ff7dd8902 Refactoring of ldaptasks
All LDAP tasks return a dictionary now to allow chaining with other
tasks, the new task delete_ldap_user_chained has been added to allow
user deletion after other Celery tasks.
2016-02-07 22:41:36 +01:00
Jan Dittberner 94aacf1398 Add tests for delete tasks
This commit raises coverage for ldaptasks.tasks to 100% by adding tests
for delete_ldap_group, delete_ldap_group_if_empty and delete_ldap_user
tasks.
2016-02-02 18:31:37 +00:00
Jan Dittberner 67ccdbb7c8 Add tests for ldaptasks functions
This commit adds tests for ldaptasks.set_ldap_user_password,
ldaptasks.add_ldap_user_to_group and
ldaptasks.remove_ldap_user_from_group.
2016-02-01 23:15:57 +00:00
Jan Dittberner 4b060c51f4 Add unit tests
This commit adds test coverage for gvaldap and ldapentities and starts
to provide coverage for ldaptasks using mockldap.
2016-02-01 00:55:59 +00:00