(self)
| 190 | m(get_httpbin_url('/anything')) |
| 191 | |
| 192 | def test_proxy(self) -> None: |
| 193 | stop_proxy = start_proxy_server(3002) |
| 194 | |
| 195 | resp = impit.get('https://crawlee.dev/', proxy='http://127.0.0.1:3002') |
| 196 | assert resp.status_code == 200 |
| 197 | assert 'Crawlee' in resp.text |
| 198 | |
| 199 | stop_proxy() |
| 200 | |
| 201 | def test_default_no_redirect(self) -> None: |
| 202 | target_url = 'https://crawlee.dev/' |
nothing calls this directly
no test coverage detected