1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4-tests: delete_force was unused, removed it.

This commit is contained in:
Nadezhda Ivanova 2010-11-25 01:13:24 +02:00
parent 5e7d99a5d8
commit 71af506950

View File

@ -50,11 +50,6 @@ creds = credopts.get_credentials(lp)
class SyntaxTests(unittest.TestCase):
def delete_force(self, ldb, dn):
try:
ldb.delete(dn)
except LdbError, (num, _):
self.assertEquals(num, ERR_NO_SUCH_OBJECT)
def _find_domain_sid(self):
res = self.ldb.search(base=self.base_dn, expression="(objectClass=*)", scope=SCOPE_BASE)