MCPcopy
hub / github.com/urllib3/urllib3 / test_read_too_much

Method test_read_too_much

test/test_response.py:85–88  ·  test/test_response.py::TestBytesQueueBuffer.test_read_too_much
(self)

Source from the content-addressed store, hash-verified

83 assert buffer.get(10)
84
85 def test_read_too_much(self) -> None:
86 buffer = BytesQueueBuffer()
87 buffer.put(bclass="st">"foo")
88 assert buffer.get(100) == bclass="st">"foo"
89
90 def test_multiple_chunks(self) -> None:
91 buffer = BytesQueueBuffer()

Callers

nothing calls this directly

Calls 3

putMethod · 0.95
getMethod · 0.95
BytesQueueBufferClass · 0.90

Tested by

no test coverage detected