mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
fix tests and docstring error
This commit is contained in:
parent
293975d081
commit
2448f070e9
2 changed files with 29 additions and 5 deletions
|
|
@ -57,15 +57,27 @@ class DeployTest(unittest.TestCase):
|
|||
'--safe-links',
|
||||
'--quiet',
|
||||
'--exclude',
|
||||
'repo/index.xml',
|
||||
'repo/entry.jar',
|
||||
'--exclude',
|
||||
'repo/index.jar',
|
||||
'repo/entry.json',
|
||||
'--exclude',
|
||||
'repo/entry.json.asc',
|
||||
'--exclude',
|
||||
'repo/index-v1.jar',
|
||||
'--exclude',
|
||||
'repo/index-v1.json',
|
||||
'--exclude',
|
||||
'repo/index-v1.json.asc',
|
||||
'--exclude',
|
||||
'repo/index-v2.jar',
|
||||
'--exclude',
|
||||
'repo/index-v2.json',
|
||||
'--exclude',
|
||||
'repo/index-v2.json.asc',
|
||||
'--exclude',
|
||||
'repo/index.jar',
|
||||
'--exclude',
|
||||
'repo/index.xml',
|
||||
'repo',
|
||||
'example.com:/var/www/fdroid',
|
||||
],
|
||||
|
|
@ -142,15 +154,27 @@ class DeployTest(unittest.TestCase):
|
|||
'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i '
|
||||
+ fdroidserver.deploy.config['identity_file'],
|
||||
'--exclude',
|
||||
'archive/index.xml',
|
||||
'archive/entry.jar',
|
||||
'--exclude',
|
||||
'archive/index.jar',
|
||||
'archive/entry.json',
|
||||
'--exclude',
|
||||
'archive/entry.json.asc',
|
||||
'--exclude',
|
||||
'archive/index-v1.jar',
|
||||
'--exclude',
|
||||
'archive/index-v1.json',
|
||||
'--exclude',
|
||||
'archive/index-v1.json.asc',
|
||||
'--exclude',
|
||||
'archive/index-v2.jar',
|
||||
'--exclude',
|
||||
'archive/index-v2.json',
|
||||
'--exclude',
|
||||
'archive/index-v2.json.asc',
|
||||
'--exclude',
|
||||
'archive/index.jar',
|
||||
'--exclude',
|
||||
'archive/index.xml',
|
||||
'archive',
|
||||
serverwebroot,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue