Fix debug output in integration test

Recent ipaldap work has made LDAPEntry incompatible with python-ldap's
LDIFWriter.
Convert entry to dict before printing debug output.
This commit is contained in:
Petr Viktorin
2013-11-04 11:59:34 +01:00
parent 9cbb94cd66
commit 1f6880c590
+1 -1
View File
@@ -596,7 +596,7 @@ def _entries_to_ldif(entries):
io = StringIO.StringIO()
writer = LDIFWriter(io)
for entry in entries:
writer.unparse(str(entry.dn), entry)
writer.unparse(str(entry.dn), dict(entry))
return io.getvalue()