MCPcopy
hub / github.com/benoitc/gunicorn / test_unreader_unread

Function test_unreader_unread

tests/test_http.py:138–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136
137
138def test_unreader_unread():
139 unreader = Unreader()
140 unreader.unread(b'hi there')
141 assert b'hi there' in unreader.read()
142
143
144def test_unreader_unread_should_place_data_at_the_beginning_of_the_buffer():

Callers

nothing calls this directly

Calls 3

unreadMethod · 0.95
readMethod · 0.95
UnreaderClass · 0.90

Tested by

no test coverage detected