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

Method test_content_encoding

impit-python/test/basic_client_test.py:112–117  ·  view source on GitHub ↗
(self, browser: Browser)

Source from the content-addressed store, hash-verified

110 assert response.text
111
112 def test_content_encoding(self, browser: Browser) -> None:
113 impit = Client(browser=browser)
114
115 resp = impit.get(get_httpbin_url('/encoding/utf8'))
116 assert resp.status_code == 200
117 assert resp.encoding == 'utf-8'
118
119 def test_headers_work(self, browser: Browser) -> None:
120 impit = Client(browser=browser)

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
ClientClass · 0.90
get_httpbin_urlFunction · 0.85

Tested by

no test coverage detected