mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-18 20:50:10 +01:00
Fix CheckupdatesTest
This commit is contained in:
parent
badc40b816
commit
121e06e4b7
@ -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…
Reference in New Issue
Block a user