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

Method test_basic_requests

impit-python/test/no_client_test.py:38–40  ·  view source on GitHub ↗
(self, protocol: str)

Source from the content-addressed store, hash-verified

36 ['http://', 'https://'],
37 )
38 def test_basic_requests(self, protocol: str) -> None:
39 resp = impit.get(f'{protocol}apify.com')
40 assert resp.status_code == 200 if protocol == 'https://' else resp.status_code == 301
41
42 def test_boringssl_based_server(self) -> None:
43 response = impit.get('https://www.google.com')

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected