Unit test for fetch_url() with invalid URL
(self)
| 209 | self.fail('fetch_url() did not raise RetryError for HTTP 500 response') |
| 210 | |
| 211 | def test_fetch_url_invalid(self): |
| 212 | """Unit test for fetch_url() with invalid URL""" |
| 213 | url = 'https://test.invalid' |
| 214 | with self.assertRaises(requests.exceptions.RequestException): |
| 215 | fetch_url(url) |
nothing calls this directly
no test coverage detected