diff --git a/tests/index.TestCase b/tests/index.TestCase index 43db9433..5fb56f10 100755 --- a/tests/index.TestCase +++ b/tests/index.TestCase @@ -71,7 +71,7 @@ class IndexTest(unittest.TestCase): fdroidserver.index.download_repo_index("http://example.org") def test_download_repo_index_no_jar(self): - with self.assertRaises(requests.exceptions.HTTPError): + with self.assertRaises(requests.exceptions.RequestException): fdroidserver.index.download_repo_index("http://example.org?fingerprint=nope") @patch('requests.head')