Commits

Peter Sagerson  committed 393fca3

Version 0.1.4

  • Participants
  • Parent commits 600a843
  • Tags v0.1.4

Comments (0)

Files changed (5)

+v0.1.4 - September 20, 2013 - Miscellaneous fixes
+-------------------------------------------------
+
+- Raise :exc:`~ldap.INVALID_DN_SYNTAX` for invalid DNs.
+
+- Raise :exc:`~ldap.FILTER_ERROR` on filter string parse errors.
+
+- Include the full method call signature in :exc:`~mockldap.SeedRequired`
+  exceptions.
+
+
 v0.1.3 - September 18, 2013 - Python 2.5 support
 ------------------------------------------------
 

File docs/source/conf.py

 # The short X.Y version.
 version = '0.1'
 # The full version, including alpha/beta/rc tags.
-release = '0.1.3'
+release = '0.1.4'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
 
 setup(
     name='mockldap',
-    version='0.1.3',
+    version='0.1.4',
     description=u"A simple mock implementation of python-ldap.",
     long_description=open('README').read(),
     url='http://bitbucket.org/psagers/mockldap/',

File src/mockldap/ldapobject.py

     @recorded
     def search_s(self, base, scope, filterstr='(objectClass=*)', attrlist=None, attrsonly=0):
         """
-        Supports many, but not all, filter strings. Tests of the form
-        ``'(foo=bar)'`` and ``'(foo=*)'`` are supported, as are the &, |, and !
-        operators. attrlist and attrsonly are also supported. Beyond that, this
-        method must be seeded.
+        Supports many, but not all, filter strings.
+
+        Tests of the form ``'(foo=bar)'`` and ``'(foo=*)'`` are supported, as
+        are the &, |, and !  operators. attrlist and attrsonly are also
+        supported. Beyond that, this method must be seeded.
         """
         return self._search_s(base, scope, filterstr, attrlist, attrsonly)
 

File src/mockldap/recording.py

     An API call must be seeded with a return value.
 
     This is raised by :class:`~mockldap.LDAPObject` methods when they can't
-    satisfy a request internally.
+    satisfy a request internally. The messsage will contain a representation of
+    the method call that triggered it, including all arguments.
     """
     pass