diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-01-07 16:30:05 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-01-07 17:09:26 +1100 |
commit | 59f8c1d98a53b01a32883da0662ce33cadd45419 (patch) | |
tree | a851dc703940454c785f8003c2166845cfa62331 /source4/lib/ldb | |
parent | 59d5a963d137ec10686b98e575b16c45848ea3ab (diff) | |
download | samba-59f8c1d98a53b01a32883da0662ce33cadd45419.tar.gz samba-59f8c1d98a53b01a32883da0662ce33cadd45419.tar.bz2 samba-59f8c1d98a53b01a32883da0662ce33cadd45419.zip |
Use new error constant (missing from 6efb7ff9)
Diffstat (limited to 'source4/lib/ldb')
-rwxr-xr-x | source4/lib/ldb/tests/python/ldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py index f9006dbd63..f0b50007ef 100755 --- 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) |