Method
test_basic_requests
(self, protocol: str, browser: Browser)
Source from the content-addressed store, hash-verified
| 92 | ['http://', 'https://'], |
| 93 | ) |
| 94 | def test_basic_requests(self, protocol: str, browser: Browser) -> None: |
| 95 | impit = Client(browser=browser) |
| 96 | |
| 97 | resp = impit.get(f'{protocol}apify.com') |
| 98 | assert resp.status_code == 200 if protocol == 'https://' else resp.status_code == 301 |
| 99 | |
| 100 | def test_context_manager(self, browser: Browser) -> None: |
| 101 | with Client(browser=browser) as impit: |
Callers
nothing calls this directly
Tested by
no test coverage detected