git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18889f
)
ldap: Fix test failure that seemed to go unreported previously.
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 16 Jan 2010 23:35:26 +0000
(12:35 +1300)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sat, 16 Jan 2010 23:35:26 +0000
(12:35 +1300)
source4/lib/ldb/tests/python/ldap.py
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/tests/python/ldap.py
b/source4/lib/ldb/tests/python/ldap.py
index 129b4c3b014f344ec5384b5d1b8cc85492588890..798047cee993478916e302fb6095bb36b50d6632 100755
(executable)
--- a/
source4/lib/ldb/tests/python/ldap.py
+++ b/
source4/lib/ldb/tests/python/ldap.py
@@
-1813,8
+1813,7
@@
objectclass: user
sAMAccountName: """ + user_name + """
nTSecurityDescriptor:: """ + desc_base64)
res = self.ldb.search(base=user_dn, attrs=["nTSecurityDescriptor"])
- print res
- self.assertRaises(KeyError, lambda: res[0]["nTSecurityDescriptor"])
+ self.assertTrue("nTSecurityDescriptor" in res[0])
finally:
self.delete_force(self.ldb, user_dn)