cheroot.test.test_makefile module#
Tests for cheroot.makefile.
- class cheroot.test.test_makefile.MockSocket#
Bases:
objectA mock socket.
- _decref_socketios()#
Emulate socket I/O reference decrement.
- recv(size)#
Simulate
recvfor Python 2.
- recv_into(buf)#
Simulate
recv_intofor Python 3.
- send(val)#
Simulate a send.
- cheroot.test.test_makefile.test_bytes_read()#
Reader should capture bytes read.
- cheroot.test.test_makefile.test_bytes_written()#
Writer should capture bytes written.