Recent ipaldap refactoring broke the simple_replication test; here is a fix.
Pushed as one-liner to master: 1f6880c59059496f5002111cd0b5f16cc51961db -- PetrĀ³
From 95c229b617342f9fb46373428abbc5ba4c7778e4 Mon Sep 17 00:00:00 2001 From: Petr Viktorin <pvikt...@redhat.com> Date: Fri, 1 Nov 2013 15:17:46 +0100 Subject: [PATCH] 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. --- ipatests/test_integration/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_integration/tasks.py b/ipatests/test_integration/tasks.py index 6c36d3451cf9445450354a367618017477deefde..d30258761df6bfbf66a9b7e1a2c15114fca4c2a0 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() -- 1.8.3.1
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel