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

Function request_from_message

tests/test_signals.py:31–38  ·  view source on GitHub ↗
(message, app)

Source from the content-addressed store, hash-verified

29
30
31def request_from_message(message, app):
32 payload = mock.Mock()
33 transport = mock.Mock()
34 reader = mock.Mock()
35 writer = mock.Mock()
36 req = Request(app, message, payload,
37 transport, reader, writer)
38 return req
39
40
41def test_add_response_prepare_signal_handler(loop, app):

Callers 1

make_requestFunction · 0.70

Calls 1

RequestClass · 0.90

Tested by

no test coverage detected