1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

🏟️ fix ci

This commit is contained in:
Michael Pöhn 2024-04-09 14:53:00 +02:00
parent 45efb88f85
commit f2118b35a3
No known key found for this signature in database
GPG Key ID: 725F386C05529A5A
2 changed files with 8 additions and 2 deletions

View File

@ -112,6 +112,8 @@ class DeployTest(unittest.TestCase):
fdroidserver.deploy.update_serverwebroot('serverwebroot', 'repo')
def test_update_serverwebroot_make_cur_version_link(self):
self.maxDiff = None
# setup parameters for this test run
fdroidserver.deploy.options = mock.Mock()
fdroidserver.deploy.options.no_checksum = True
@ -137,6 +139,8 @@ class DeployTest(unittest.TestCase):
'--safe-links',
'--quiet',
'--exclude',
'repo/altstore-index.json',
'--exclude',
'repo/entry.jar',
'--exclude',
'repo/entry.json',
@ -232,6 +236,8 @@ class DeployTest(unittest.TestCase):
'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i '
+ fdroidserver.deploy.config['identity_file'],
'--exclude',
'archive/altstore-index.json',
'--exclude',
'archive/entry.jar',
'--exclude',
'archive/entry.json',

View File

@ -863,7 +863,7 @@ class AltstoreIndexTest(unittest.TestCase):
config = {
"repo_icon": "fake_repo_icon.png",
"repo_name": "fake_repo",
"repo_url": "gopher://fake-repo.com/fdroid/repo"
"repo_url": "gopher://fake-repo.com/fdroid/repo",
}
with tempfile.TemporaryDirectory() as tmpdir, TmpCwd(tmpdir):
@ -915,7 +915,7 @@ class AltstoreIndexTest(unittest.TestCase):
'name': 'fake_repo',
'news': [],
},
json.load(f)
json.load(f),
)