Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ assert_readline
Function
assert_readline
tests/test_http.py:28–30 ·
view source on GitHub ↗
(payload, size, expected)
Source
from the content-addressed store, hash-verified
26
27
28
def
assert_readline(payload, size, expected):
29
body = Body(io.BytesIO(payload))
30
assert body.readline(size) == expected
31
32
33
def
test_readline_empty_body():
Callers
2
test_readline_empty_body
Function · 0.85
test_readline_zero_size
Function · 0.85
Calls
2
readline
Method · 0.95
Body
Class · 0.90
Tested by
no test coverage detected