diff options
author | Petr Viktorin <pviktori@redhat.com> | 2013-11-01 15:17:46 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-11-04 11:59:34 +0100 |
commit | 1f6880c59059496f5002111cd0b5f16cc51961db (patch) | |
tree | 75e125a24dcb4ace2fc8a1d16d590d03a89b3214 | |
parent | 9cbb94cd66c80b3d52f08704c1d597f98a66cbab (diff) | |
download | freeipa-1f6880c59059496f5002111cd0b5f16cc51961db.tar.gz freeipa-1f6880c59059496f5002111cd0b5f16cc51961db.tar.xz freeipa-1f6880c59059496f5002111cd0b5f16cc51961db.zip |
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.
-rw-r--r-- | ipatests/test_integration/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 6c36d3451..d30258761 100644 --- a/ipatests/test_integration/tasks.py +++ b/ipatests/test_integration/tasks.py @@ -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() |