MCPcopy
hub / github.com/urllib3/urllib3 / test_get_all_single

Method test_get_all_single

test/test_response.py:109–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 assert len(q) == 0
108
109 def test_get_all_single(self) -> None:
110 q = BytesQueueBuffer()
111 q.put(b"a")
112 assert q.get_all() == b"a"
113 assert len(q) == 0
114
115 def test_get_all_many(self) -> None:
116 q = BytesQueueBuffer()

Callers

nothing calls this directly

Calls 3

putMethod · 0.95
get_allMethod · 0.95
BytesQueueBufferClass · 0.90

Tested by

no test coverage detected