mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-09 08:50:28 +03:00
fix: minor bugs in testcases for: common, metadata, update
This commit is contained in:
parent
28ec93c587
commit
5d5617bf40
3 changed files with 6 additions and 4 deletions
|
|
@ -822,7 +822,7 @@ class CommonTest(unittest.TestCase):
|
|||
'-e',
|
||||
'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i ssh/id_rsa',
|
||||
cmd[6],
|
||||
'example.com:/var/www/fdroid/repo/buildlogs'],
|
||||
'example.com:/var/www/fdroid/repo/buildlogs/'],
|
||||
cmd)
|
||||
self.assertTrue(cmd[6].endswith('/com.example.app_4711_1.log.gz'))
|
||||
with gzip.open(cmd[6], 'r') as f:
|
||||
|
|
@ -835,7 +835,7 @@ class CommonTest(unittest.TestCase):
|
|||
'-e',
|
||||
'ssh -oBatchMode=yes -oIdentitiesOnly=yes -i ssh/id_rsa',
|
||||
cmd[6],
|
||||
'example.com:/var/www/fdroid/archive/buildlogs'],
|
||||
'example.com:/var/www/fdroid/archive/buildlogs/'],
|
||||
cmd)
|
||||
self.assertTrue(cmd[6].endswith('/com.example.app_4711_1.log.gz'))
|
||||
with gzip.open(cmd[6], 'r') as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue