fix code format for new black rule

This commit is contained in:
Hans-Christoph Steiner 2023-03-20 14:47:48 +01:00
parent e903952029
commit b92e280eab
20 changed files with 0 additions and 24 deletions

View file

@ -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)

View file

@ -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

View file

@ -171,7 +171,6 @@ class LintTest(unittest.TestCase):
}
for field, values in fields.items():
for bad in values['bad']:
anywarns = False
app[field] = bad

View file

@ -48,7 +48,6 @@ class Options:
class NightlyTest(unittest.TestCase):
basedir = Path(__file__).resolve().parent
path = os.environ['PATH']

View file

@ -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):

View file

@ -34,7 +34,6 @@ class Options:
class SignindexTest(unittest.TestCase):
basedir = Path(__file__).resolve().parent
def setUp(self):

View file

@ -48,7 +48,6 @@ TEST_APP_ENTRY = {
class VerifyTest(unittest.TestCase):
basedir = Path(__file__).resolve().parent
def setUp(self):