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

Method test_json

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

Source from the content-addressed store, hash-verified

530
531 @pytest.mark.asyncio
532 async def test_json(self, browser: Browser) -> None:
533 impit = AsyncClient(browser=browser)
534
535 response = await impit.get(get_httpbin_url('/get'))
536
537 assert response.status_code == 200
538 assert response.json() == json.loads(response.text)
539
540
541@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 4

getMethod · 0.95
AsyncClientClass · 0.90
get_httpbin_urlFunction · 0.85
jsonMethod · 0.45

Tested by

no test coverage detected