1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

s4:ldap.py - comment a test part which fails with another error code on Windows

This commit is contained in:
Matthias Dieter Wallnöfer 2010-08-07 12:30:33 +02:00
parent 8243272fa0
commit bc702a394d

View File

@ -1695,11 +1695,12 @@ objectClass: container
except LdbError, (num, _):
self.assertEquals(num, ERR_UNWILLING_TO_PERFORM)
try:
ldb.delete("cn=Enterprise Configuration,cn=Partitions," + self.configuration_dn)
self.fail()
except LdbError, (num, _):
self.assertEquals(num, ERR_UNWILLING_TO_PERFORM)
# TODO: This fails with LDB_ERR_NOT_ALLOWED_ON_NON_LEAF on Windows
# try:
# ldb.delete("cn=Enterprise Configuration,cn=Partitions," + self.configuration_dn)
# self.fail()
# except LdbError, (num, _):
# self.assertEquals(num, ERR_UNWILLING_TO_PERFORM)
# Performs some "systemFlags" testing