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
parent df28c1e6c3
commit 76432199be
No known key found for this signature in database
2 changed files with 6 additions and 8 deletions

View File

@ -622,9 +622,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,
@ -712,9 +712,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

@ -894,7 +894,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
@ -950,7 +949,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