git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92d1ba6
)
dsdb/tests/ldap: fix test_distinguished_name against w2k8r2
author
Stefan Metzmacher
<metze@samba.org>
Mon, 23 Sep 2013 01:39:58 +0000
(
03:39
+0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 24 Sep 2013 23:02:18 +0000
(
01:02
+0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/tests/python/ldap.py
patch
|
blob
|
history
diff --git
a/source4/dsdb/tests/python/ldap.py
b/source4/dsdb/tests/python/ldap.py
index f44f4eaf57a45bf6eeb06588bc0ed90dc182f501..63c422a7a29954f932abe83300d628285b165414 100755
(executable)
--- a/
source4/dsdb/tests/python/ldap.py
+++ b/
source4/dsdb/tests/python/ldap.py
@@
-952,7
+952,7
@@
class BasicTests(samba.tests.TestCase):
ldb.modify(m)
self.fail()
except LdbError, (num, _):
- self.assertEquals(num, ERR_
CONSTRAINT_VIOLATION
)
+ self.assertEquals(num, ERR_
UNWILLING_TO_PERFORM
)
m = Message()
m.dn = Dn(ldb, "cn=ldaptestgroup,cn=users," + self.base_dn)
@@
-976,7
+976,7
@@
class BasicTests(samba.tests.TestCase):
ldb.modify(m)
self.fail()
except LdbError, (num, _):
- self.assertEquals(num, ERR_
CONSTRAINT_VIOLATION
)
+ self.assertEquals(num, ERR_
UNWILLING_TO_PERFORM
)
delete_force(self.ldb, "cn=ldaptestgroup,cn=users," + self.base_dn)