jlaine/django-ldapdb — pull request #17 by tampakrap (2013-09-19 16:15:07+00:00)
Title: Integrate with mockldap

MockLDAP is a mock replacement for python-ldap. It's useful for any project
that would like to write unit tests against LDAP code without relying on a
running LDAP server.

The initial code was bundled inside django-auth-ldap, but since I was using it for a Django project of mine, I managed to convince the django-auth-ldap author to extract it to separate package, where I also worked on to get it into shape. It was released on pypi a couple of weeks ago, and it is integrated with django-auth-ldap since yesterday.

I put some effort to make all ldapdb operation be supported in mockldap, and only wildcard filters in search_s are left. Thus, would be great to have another consumer.

Links:
https://pypi.python.org/pypi/mockldap
http://pythonhosted.org//mockldap