summaryrefslogtreecommitdiff
path: root/source4/dsdb/tests/python
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-11-25 01:13:24 +0200
committerNadezhda Ivanova <nivanova@samba.org>2010-11-25 01:13:24 +0200
commit71af5069507ef60bd4b73ee3943716d55e833252 (patch)
tree97927916757079ef5ba02c793698c1de08c0d684 /source4/dsdb/tests/python
parent5e7d99a5d84dfc723c9be26cb7617307aaa2fb23 (diff)
downloadsamba-71af5069507ef60bd4b73ee3943716d55e833252.tar.gz
samba-71af5069507ef60bd4b73ee3943716d55e833252.tar.bz2
samba-71af5069507ef60bd4b73ee3943716d55e833252.zip
s4-tests: delete_force was unused, removed it.
Diffstat (limited to 'source4/dsdb/tests/python')
-rw-r--r--source4/dsdb/tests/python/ldap_syntaxes.py5
1 files changed, 0 insertions, 5 deletions
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)