[python-ldap] [PATCH] Tests for the ldif module

Michael Ströder michael at stroeder.com
Wed Sep 30 19:23:35 CEST 2015


Petr Viktorin wrote:
> I've written some basic tests for the ldif module.

I had to restructure this a bit because the LDIF string representations are
ambigous. So you can only compare the parsed structures.

Checking whether LDIFWriter._needs_base64_encoding() etc. works correctly has
to be done in separate tests.

Please have a look at the version in CVS HEAD.

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150930/5b2c1133/attachment.bin>


More information about the python-ldap mailing list