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

Method test_http3_works

impit-python/test/basic_client_test.py:315–321  ·  view source on GitHub ↗
(self, browser: Browser)

Source from the content-addressed store, hash-verified

313
314 @pytest.mark.skip(reason='Flaky under the CI environment')
315 def test_http3_works(self, browser: Browser) -> None:
316 impit = Client(browser=browser, http3=True)
317
318 response = impit.get('https://curl.se', force_http3=True)
319 assert response.status_code == 200
320 assert 'curl' in response.text
321 assert response.http_version == 'HTTP/3'
322
323 @pytest.mark.parametrize(
324 ('method'),

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
ClientClass · 0.90

Tested by

no test coverage detected