1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-14 02:50:12 +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') fdroidserver.deploy.update_serverwebroot('serverwebroot', 'repo')
def test_update_serverwebroot_make_cur_version_link(self): def test_update_serverwebroot_make_cur_version_link(self):
self.maxDiff = None
# setup parameters for this test run # setup parameters for this test run
fdroidserver.deploy.options = mock.Mock() fdroidserver.deploy.options = mock.Mock()
fdroidserver.deploy.options.no_checksum = True fdroidserver.deploy.options.no_checksum = True
@ -137,6 +139,8 @@ class DeployTest(unittest.TestCase):
'--safe-links', '--safe-links',
'--quiet', '--quiet',
'--exclude', '--exclude',
'repo/altstore-index.json',
'--exclude',
'repo/entry.jar', 'repo/entry.jar',
'--exclude', '--exclude',
'repo/entry.json', 'repo/entry.json',
@ -232,6 +236,8 @@ class DeployTest(unittest.TestCase):
'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i ' 'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i '
+ fdroidserver.deploy.config['identity_file'], + fdroidserver.deploy.config['identity_file'],
'--exclude', '--exclude',
'archive/altstore-index.json',
'--exclude',
'archive/entry.jar', 'archive/entry.jar',
'--exclude', '--exclude',
'archive/entry.json', 'archive/entry.json',

View File

@ -863,7 +863,7 @@ class AltstoreIndexTest(unittest.TestCase):
config = { config = {
"repo_icon": "fake_repo_icon.png", "repo_icon": "fake_repo_icon.png",
"repo_name": "fake_repo", "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): with tempfile.TemporaryDirectory() as tmpdir, TmpCwd(tmpdir):
@ -915,7 +915,7 @@ class AltstoreIndexTest(unittest.TestCase):
'name': 'fake_repo', 'name': 'fake_repo',
'news': [], 'news': [],
}, },
json.load(f) json.load(f),
) )