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:
parent
5e7d99a5d8
commit
71af506950
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user