From 71af5069507ef60bd4b73ee3943716d55e833252 Mon Sep 17 00:00:00 2001 From: Nadezhda Ivanova Date: Thu, 25 Nov 2010 01:13:24 +0200 Subject: s4-tests: delete_force was unused, removed it. --- source4/dsdb/tests/python/ldap_syntaxes.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/tests/python/ldap_syntaxes.py b/source4/dsdb/tests/python/ldap_syntaxes.py index 6381657ae3..f1f30c738d 100644 --- a/source4/dsdb/tests/python/ldap_syntaxes.py +++ b/source4/dsdb/tests/python/ldap_syntaxes.py @@ -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) -- cgit