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

Method test_methods_work

impit-python/test/async_client_test.py:341–346  ·  view source on GitHub ↗
(self, browser: Browser, method: str)

Source from the content-addressed store, hash-verified

339 ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS'],
340 )
341 async def test_methods_work(self, browser: Browser, method: str) -> None:
342 impit = AsyncClient(browser=browser)
343
344 m = getattr(impit, method.lower())
345
346 await m(get_httpbin_url('/anything'))
347
348 @pytest.mark.asyncio
349 async def test_proxy(self, browser: Browser) -> None:

Callers

nothing calls this directly

Calls 2

AsyncClientClass · 0.90
get_httpbin_urlFunction · 0.85

Tested by

no test coverage detected