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

Method test_methods_work

impit-python/test/basic_client_test.py:327–332  ·  view source on GitHub ↗
(self, browser: Browser, method: str)

Source from the content-addressed store, hash-verified

325 ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS'],
326 )
327 def test_methods_work(self, browser: Browser, method: str) -> None:
328 impit = Client(browser=browser)
329
330 m = getattr(impit, method.lower())
331
332 m(get_httpbin_url('/anything'))
333
334 def test_proxy(self, browser: Browser) -> None:
335 stop_proxy = start_proxy_server(3002)

Callers

nothing calls this directly

Calls 2

ClientClass · 0.90
get_httpbin_urlFunction · 0.85

Tested by

no test coverage detected