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

fix tests

This commit is contained in:
Hans-Christoph Steiner 2024-06-07 13:08:16 +02:00
parent a7e40c1323
commit fa888c987c

View File

@ -290,6 +290,8 @@ class DeployTest(unittest.TestCase):
'--exclude',
'repo/altstore-index.json',
'--exclude',
'repo/altstore-index.json.asc',
'--exclude',
'repo/entry.jar',
'--exclude',
'repo/entry.json',
@ -306,8 +308,14 @@ class DeployTest(unittest.TestCase):
'--exclude',
'repo/index-v2.json.asc',
'--exclude',
'repo/index.css',
'--exclude',
'repo/index.html',
'--exclude',
'repo/index.jar',
'--exclude',
'repo/index.png',
'--exclude',
'repo/index.xml',
'repo',
'example.com:/var/www/fdroid',
@ -382,6 +390,7 @@ class DeployTest(unittest.TestCase):
'--safe-links',
'--quiet',
'repo/altstore-index.json',
'repo/altstore-index.json.asc',
'repo/entry.jar',
'repo/entry.json',
'repo/entry.json.asc',
@ -390,7 +399,10 @@ class DeployTest(unittest.TestCase):
'repo/index-v1.json.asc',
'repo/index-v2.json',
'repo/index-v2.json.asc',
'repo/index.css',
'repo/index.html',
'repo/index.jar',
'repo/index.png',
'repo/index.xml',
'example.com:/var/www/fdroid/repo/',
],
@ -479,6 +491,8 @@ class DeployTest(unittest.TestCase):
'--exclude',
'archive/altstore-index.json',
'--exclude',
'archive/altstore-index.json.asc',
'--exclude',
'archive/entry.jar',
'--exclude',
'archive/entry.json',
@ -495,8 +509,14 @@ class DeployTest(unittest.TestCase):
'--exclude',
'archive/index-v2.json.asc',
'--exclude',
'archive/index.css',
'--exclude',
'archive/index.html',
'--exclude',
'archive/index.jar',
'--exclude',
'archive/index.png',
'--exclude',
'archive/index.xml',
'archive',
url,
@ -557,6 +577,7 @@ class DeployTest(unittest.TestCase):
'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i '
+ fdroidserver.deploy.config['identity_file'],
'archive/altstore-index.json',
'archive/altstore-index.json.asc',
'archive/entry.jar',
'archive/entry.json',
'archive/entry.json.asc',
@ -565,7 +586,10 @@ class DeployTest(unittest.TestCase):
'archive/index-v1.json.asc',
'archive/index-v2.json',
'archive/index-v2.json.asc',
'archive/index.css',
'archive/index.html',
'archive/index.jar',
'archive/index.png',
'archive/index.xml',
"example.com:/var/www/fdroid/archive/",
],
@ -669,6 +693,8 @@ class DeployTest(unittest.TestCase):
'--exclude',
'repo/altstore-index.json',
'--exclude',
'repo/altstore-index.json.asc',
'--exclude',
'repo/entry.jar',
'--exclude',
'repo/entry.json',
@ -685,8 +711,14 @@ class DeployTest(unittest.TestCase):
'--exclude',
'repo/index-v2.json.asc',
'--exclude',
'repo/index.css',
'--exclude',
'repo/index.html',
'--exclude',
'repo/index.jar',
'--exclude',
'repo/index.png',
'--exclude',
'repo/index.xml',
'--no-check-md5',
'--skip-existing',
@ -706,6 +738,8 @@ class DeployTest(unittest.TestCase):
'--exclude',
'repo/altstore-index.json',
'--exclude',
'repo/altstore-index.json.asc',
'--exclude',
'repo/entry.jar',
'--exclude',
'repo/entry.json',
@ -722,8 +756,14 @@ class DeployTest(unittest.TestCase):
'--exclude',
'repo/index-v2.json.asc',
'--exclude',
'repo/index.css',
'--exclude',
'repo/index.html',
'--exclude',
'repo/index.jar',
'--exclude',
'repo/index.png',
'--exclude',
'repo/index.xml',
'--no-check-md5',
repo_section,
@ -804,6 +844,8 @@ class DeployTest(unittest.TestCase):
'--include',
'repo/altstore-index.json',
'--include',
'repo/altstore-index.json.asc',
'--include',
'repo/entry.jar',
'--include',
'repo/entry.json',
@ -820,8 +862,14 @@ class DeployTest(unittest.TestCase):
'--include',
'repo/index-v2.json.asc',
'--include',
'repo/index.css',
'--include',
'repo/index.html',
'--include',
'repo/index.jar',
'--include',
'repo/index.png',
'--include',
'repo/index.xml',
'--delete-removed',
'--delete-after',