[checkupdates] Move log messages into method

This commit is contained in:
Jochen Sprickerhof 2021-07-27 22:19:20 +02:00
parent ae98844943
commit 8f836b3b01
2 changed files with 4 additions and 17 deletions

View file

@ -205,7 +205,6 @@ class CheckupdatesTest(unittest.TestCase):
with mock.patch('urllib.request.urlopen', lambda a, b, c: respmock):
vername, vercode = fdroidserver.checkupdates.check_http(app)
self.assertEqual(vername, None)
self.assertEqual(vercode, 'Version 1.1.9-beta is ignored')
def test_check_tags_data(self):
fdroidserver.checkupdates.options = mock.Mock()