mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Merge branch 'ci_fix' into 'master'
Fix CheckupdatesTest See merge request fdroid/fdroidserver!988
This commit is contained in:
commit
884870e74e
1 changed files with 4 additions and 2 deletions
|
|
@ -114,6 +114,7 @@ class CheckupdatesTest(unittest.TestCase):
|
|||
with mock.patch(
|
||||
'fdroidserver.checkupdates.check_http', lambda app: (None, 'bla')
|
||||
):
|
||||
with self.assertRaises(FDroidException):
|
||||
fdroidserver.checkupdates.checkupdates_app(app)
|
||||
|
||||
with mock.patch(
|
||||
|
|
@ -148,6 +149,7 @@ class CheckupdatesTest(unittest.TestCase):
|
|||
'fdroidserver.checkupdates.check_tags',
|
||||
lambda app, pattern: (None, 'bla', None),
|
||||
):
|
||||
with self.assertRaises(FDroidException):
|
||||
fdroidserver.checkupdates.checkupdates_app(app)
|
||||
|
||||
with mock.patch(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue