(self, protocol: str, browser: Browser)
| 82 | ['http://', 'https://'], |
| 83 | ) |
| 84 | async def test_basic_requests(self, protocol: str, browser: Browser) -> None: |
| 85 | impit = AsyncClient(browser=browser) |
| 86 | |
| 87 | resp = await impit.get(f'{protocol}apify.com') |
| 88 | assert resp.status_code == 200 if protocol == 'https://' else resp.status_code == 301 |
| 89 | |
| 90 | @pytest.mark.asyncio |
| 91 | async def test_context_manager(self, browser: Browser) -> None: |
nothing calls this directly
no test coverage detected