MCPcopy Create free account
hub / github.com/apify/impit / test_http3_works

Method test_http3_works

impit-python/test/async_client_test.py:328–334  ·  view source on GitHub ↗
(self, browser: Browser)

Source from the content-addressed store, hash-verified

326 @pytest.mark.skip(reason='Flaky under the CI environment')
327 @pytest.mark.asyncio
328 async def test_http3_works(self, browser: Browser) -> None:
329 impit = AsyncClient(browser=browser, http3=True)
330
331 response = await impit.get('https://curl.se', force_http3=True)
332 assert response.status_code == 200
333 assert 'curl' in response.text
334 assert response.http_version == 'HTTP/3'
335
336 @pytest.mark.asyncio
337 @pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
AsyncClientClass · 0.90

Tested by

no test coverage detected