mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +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):
|
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):
|
def _find_domain_sid(self):
|
||||||
res = self.ldb.search(base=self.base_dn, expression="(objectClass=*)", scope=SCOPE_BASE)
|
res = self.ldb.search(base=self.base_dn, expression="(objectClass=*)", scope=SCOPE_BASE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user