git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d5a96
)
Use new error constant (missing from 6efb7ff9)
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 7 Jan 2009 05:30:05 +0000
(16:30 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 7 Jan 2009 06:09:26 +0000
(17:09 +1100)
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 f9006dbd63f169464561dbab8be841a231f81c6b..f0b50007ef6a42905671fea57210e97c22feda00 100755
(executable)
--- a/
source4/lib/ldb/tests/python/ldap.py
+++ b/
source4/lib/ldb/tests/python/ldap.py
@@
-616,7
+616,7
@@
member: cn=ldaptestuser4,cn=ldaptestcontainer,""" + self.base_dn + """
ldb.delete("cn=ldaptestcontainer2," + self.base_dn)
self.fail()
except LdbError, (num, _):
- self.assertEquals(num, NOT_ALLOWED_ON_NON_LEAF)
+ self.assertEquals(num,
ERR_
NOT_ALLOWED_ON_NON_LEAF)
print "Testing base ldb.search for CN=ldaptestuser4,CN=ldaptestcontainer2," + self.base_dn
res = ldb.search(expression="(objectclass=*)", base=("CN=ldaptestuser4,CN=ldaptestcontainer2," + self.base_dn), scope=SCOPE_BASE)