bite.tests module
- class bite.tests.MockReader(input_buf: bytes, *, chunk_size: int | None = None)[source]
Mocks a
asyncio.StreamReader
with a staticbytes
object.- Parameters:
input_buf – The input data to provide via the
asyncio.StreamReader
interface.