1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-21 04:10:37 +02:00

lint: fix black formatting

This commit is contained in:
proletarius101 2024-02-26 23:06:04 +08:00 committed by Hans-Christoph Steiner
parent 7022eabe84
commit 51b88b784b
2 changed files with 6 additions and 8 deletions

View File

@ -623,9 +623,9 @@ class BuildTest(unittest.TestCase):
with open(metadata_file) as fp:
app = fdroidserver.metadata.App(yaml.safe_load(fp))
app['RepoType'] = 'git'
app['Binaries'] = (
'https://example.com/fdroid/repo/info.guardianproject.checkey_%v.apk'
)
app[
'Binaries'
] = 'https://example.com/fdroid/repo/info.guardianproject.checkey_%v.apk'
build = fdroidserver.metadata.Build(
{
'versionCode': 123,
@ -713,9 +713,9 @@ class BuildTest(unittest.TestCase):
with open(metadata_file) as fp:
app = fdroidserver.metadata.App(yaml.safe_load(fp))
app['RepoType'] = 'git'
app['Binaries'] = (
'https://example.com/fdroid/repo/info.guardianproject.checkey_%v.apk'
)
app[
'Binaries'
] = 'https://example.com/fdroid/repo/info.guardianproject.checkey_%v.apk'
build = fdroidserver.metadata.Build(
{
'versionCode': 123,

View File

@ -838,7 +838,6 @@ class DeployTest(unittest.TestCase):
assert mock_driver.upload_object_via_stream.call_count == 1
def test_update_servergitmirrors(self):
# setup parameters for this test run
fdroidserver.deploy.options.identity_file = None
fdroidserver.deploy.options.no_keep_git_mirror_archive = False
@ -894,7 +893,6 @@ class DeployTest(unittest.TestCase):
self.assertEqual(call_iteration, 1, 'expected 1 invocations of subprocess.call')
def test_update_servergitmirrors_in_index_only_mode(self):
# setup parameters for this test run
fdroidserver.deploy.options.identity_file = None
fdroidserver.deploy.options.no_keep_git_mirror_archive = False