mirror of
https://github.com/samba-team/samba.git
synced 2025-07-28 11:42:03 +03:00
PEP8: fix E303: too many blank lines (2)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
@ -221,7 +221,6 @@ class DsdbLockTestCase(SamDBTestCase):
|
||||
self.assertEqual(os.WEXITSTATUS(status), 0)
|
||||
self.assertEqual(got_pid, pid)
|
||||
|
||||
|
||||
def _test_full_db_lock1(self, backend_path):
|
||||
(r1, w1) = os.pipe()
|
||||
|
||||
@ -233,7 +232,6 @@ class DsdbLockTestCase(SamDBTestCase):
|
||||
|
||||
backenddb = ldb.Ldb(backend_path)
|
||||
|
||||
|
||||
backenddb.transaction_start()
|
||||
|
||||
backenddb.add({"dn": "@DSDB_LOCK_TEST"})
|
||||
@ -278,7 +276,6 @@ class DsdbLockTestCase(SamDBTestCase):
|
||||
backend_path = self.lp.private_path(backend_subpath)
|
||||
self._test_full_db_lock1(backend_path)
|
||||
|
||||
|
||||
def test_full_db_lock1_config(self):
|
||||
basedn = self.samdb.get_config_basedn()
|
||||
backend_filename = "%s.ldb" % basedn.get_casefold()
|
||||
@ -287,7 +284,6 @@ class DsdbLockTestCase(SamDBTestCase):
|
||||
backend_path = self.lp.private_path(backend_subpath)
|
||||
self._test_full_db_lock1(backend_path)
|
||||
|
||||
|
||||
def _test_full_db_lock2(self, backend_path):
|
||||
(r1, w1) = os.pipe()
|
||||
(r2, w2) = os.pipe()
|
||||
|
Reference in New Issue
Block a user