mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-11 17:50:29 +03:00
fix code format for new black rule
This commit is contained in:
parent
e903952029
commit
b92e280eab
20 changed files with 0 additions and 24 deletions
|
|
@ -442,7 +442,6 @@ class BuildTest(unittest.TestCase):
|
|||
self.assertEqual(0, count, "Shouldn't error on jar from extlib")
|
||||
|
||||
def test_failed_verifies_are_not_in_unsigned(self):
|
||||
|
||||
os.chdir(self.testdir)
|
||||
sdk_path = os.path.join(self.testdir, 'android-sdk')
|
||||
self.create_fake_android_home(sdk_path)
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ class DeployTest(unittest.TestCase):
|
|||
fdroidserver.deploy.config = {}
|
||||
|
||||
def test_update_serverwebroot_make_cur_version_link(self):
|
||||
|
||||
# setup parameters for this test run
|
||||
fdroidserver.deploy.options.no_chcksum = True
|
||||
fdroidserver.deploy.options.identity_file = None
|
||||
|
|
@ -123,7 +122,6 @@ class DeployTest(unittest.TestCase):
|
|||
self.assertEqual(call_iteration, 3, 'expected 3 invocations of subprocess.call')
|
||||
|
||||
def test_update_serverwebroot_with_id_file(self):
|
||||
|
||||
# setup parameters for this test run
|
||||
fdroidserver.deploy.options.no_chcksum = False
|
||||
fdroidserver.deploy.options.verbose = True
|
||||
|
|
|
|||
|
|
@ -171,7 +171,6 @@ class LintTest(unittest.TestCase):
|
|||
}
|
||||
|
||||
for field, values in fields.items():
|
||||
|
||||
for bad in values['bad']:
|
||||
anywarns = False
|
||||
app[field] = bad
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ class Options:
|
|||
|
||||
|
||||
class NightlyTest(unittest.TestCase):
|
||||
|
||||
basedir = Path(__file__).resolve().parent
|
||||
path = os.environ['PATH']
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ class RewriteMetaTest(unittest.TestCase):
|
|||
os.chdir(self.basedir)
|
||||
|
||||
def test_rewrite_scenario_trivial(self):
|
||||
|
||||
sys.argv = ['rewritemeta', 'a', 'b']
|
||||
|
||||
with tempfile.TemporaryDirectory() as tmpdir, TmpCwd(tmpdir):
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ class Options:
|
|||
|
||||
|
||||
class SignindexTest(unittest.TestCase):
|
||||
|
||||
basedir = Path(__file__).resolve().parent
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ TEST_APP_ENTRY = {
|
|||
|
||||
|
||||
class VerifyTest(unittest.TestCase):
|
||||
|
||||
basedir = Path(__file__).resolve().parent
|
||||
|
||||
def setUp(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue