MCPcopy
hub / github.com/aio-libs/aiohttp / test_reset_charset

Function test_reset_charset

tests/test_web_response.py:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93
94def test_reset_charset():
95 resp = StreamResponse()
96
97 resp.content_type = 'text/html'
98 resp.charset = None
99 assert resp.charset is None
100
101
102def test_reset_charset_after_setting():

Callers

nothing calls this directly

Calls 1

StreamResponseClass · 0.90

Tested by

no test coverage detected