diff options
author | Simo Sorce <idra@samba.org> | 2008-09-25 02:28:56 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-09-25 03:21:34 -0400 |
commit | 9bd63b97c9c3132a0b3c8c6bd1c67f8c31a54c3c (patch) | |
tree | af51399e30505f1111308f8d582934ab83d31396 /ldb/tests/python/ldap.py | |
parent | f698831f0ae0cd86225eb647ae4aeb813f08d3b5 (diff) | |
download | sssd-9bd63b97c9c3132a0b3c8c6bd1c67f8c31a54c3c.tar.gz sssd-9bd63b97c9c3132a0b3c8c6bd1c67f8c31a54c3c.tar.xz sssd-9bd63b97c9c3132a0b3c8c6bd1c67f8c31a54c3c.zip |
Sync ldb with upstream (includes uncommitted ldb async patches)
Diffstat (limited to 'ldb/tests/python/ldap.py')
-rwxr-xr-x | ldb/tests/python/ldap.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ldb/tests/python/ldap.py b/ldb/tests/python/ldap.py index bc6f80e85..6c910b63f 100755 --- a/ldb/tests/python/ldap.py +++ b/ldb/tests/python/ldap.py @@ -781,7 +781,10 @@ member: cn=ldaptestuser4,cn=ldaptestcontainer,""" + self.base_dn + """ self.assertTrue("objectGuid" not in res[0]) self.assertTrue("whenCreated" in res[0]) self.assertTrue("nTSecurityDescriptor" in res[0]) - self.assertEquals(res[0]["member"][0].upper(), ("CN=ldaptestuser2,CN=Users," + self.base_dn).upper()) + memberUP = [] + for m in res[0]["member"]: + memberUP.append(m.upper()) + self.assertTrue(("CN=ldaptestuser2,CN=Users," + self.base_dn).upper() in memberUP) ldb.modify_ldif(""" dn: cn=ldaptestgroup2,cn=users,""" + self.base_dn + """ |