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

Function test_feed_data

tests/test_stream_parser.py:58–62  ·  view source on GitHub ↗
(loop)

Source from the content-addressed store, hash-verified

56
57
58def test_feed_data(loop):
59 stream = parsers.StreamParser(loop=loop)
60
61 stream.feed_data(DATA)
62 assert DATA == bytes(stream._buffer)
63
64
65def test_feed_none_data(loop):

Callers

nothing calls this directly

Calls 1

feed_dataMethod · 0.95

Tested by

no test coverage detected