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

Method test_context_manager

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

Source from the content-addressed store, hash-verified

89
90 @pytest.mark.asyncio
91 async def test_context_manager(self, browser: Browser) -> None:
92 async with AsyncClient(browser=browser) as impit:
93 resp = await impit.get(get_httpbin_url('/get'))
94 assert resp.status_code == 200
95
96 @pytest.mark.asyncio
97 async def test_boringssl_based_server(self, browser: Browser) -> None:

Callers

nothing calls this directly

Calls 3

AsyncClientClass · 0.90
get_httpbin_urlFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected