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

Function test_response_ctor

tests/test_web_response.py:683–690  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

681
682
683def test_response_ctor():
684 resp = Response()
685
686 assert 200 == resp.status
687 assert 'OK' == resp.reason
688 assert resp.body is None
689 assert 0 == resp.content_length
690 assert CIMultiDict([('CONTENT-LENGTH', '0')]) == resp.headers
691
692
693def test_ctor_with_headers_and_status():

Callers

nothing calls this directly

Calls 1

ResponseClass · 0.90

Tested by

no test coverage detected