The branch, master has been updated
       via  e548660c871827d1cbaa967339ba5da2d6b49579 (commit)
      from  078879735be86c9e9f9be77a6d1cda3d0f9374a3 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit e548660c871827d1cbaa967339ba5da2d6b49579
Author: Jelmer Vernooij <jel...@samba.org>
Date:   Thu Jan 8 12:51:19 2009 +0100

    Fix ldap.py test on systems that *can* find the record (the search fails 
here locally).

-----------------------------------------------------------------------

Summary of changes:
 source4/lib/ldb/tests/python/ldap.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/tests/python/ldap.py 
b/source4/lib/ldb/tests/python/ldap.py
index 12a2b3f..a30273f 100755
--- a/source4/lib/ldb/tests/python/ldap.py
+++ b/source4/lib/ldb/tests/python/ldap.py
@@ -891,7 +891,7 @@ member: CN=ldaptestutf8user èùéìòà,CN=Users,""" + 
self.base_dn + """
         res = ldb.search(expression="(&(cn=ldaptestutf8user 
ÈÙÉÌÒÀ)(objectClass=user))")
         self.assertEquals(len(res), 1, "Could not find (&(cn=ldaptestutf8user 
ÈÙÉÌÒÀ)(objectClass=user))")
 
-        self.assertEquals(res[0].dn, ("CN=ldaptestutf8user 
èùéìòà,CN=Users," + self.base_dn))
+        self.assertEquals(str(res[0].dn), ("CN=ldaptestutf8user 
èùéìòà,CN=Users," + self.base_dn))
         self.assertEquals(str(res[0]["cn"]), "ldaptestutf8user èùéìòà")
         self.assertEquals(str(res[0]["name"]), "ldaptestutf8user èùéìòà")
         self.assertEquals(list(res[0]["objectClass"]), ["top", "person", 
"organizationalPerson", "user"])


-- 
Samba Shared Repository

Reply via email to