tests.test_bytesio_stream module

class tests.test_bytesio_stream.MicroSpecTestBytesIOStream(methodName='runTest')

Bases: unittest.case.TestCase

assert_getvalue(stream, value)
assert_readpos(stream, pos)
generate_streams()
seek(stream, pos)
sendCommand(b, s, *args, **kwargs)
sendReply(b, s, *args, **kwargs)
small_wait()
test_defaultStream()
test_parameterStream()
test_partialReadBridgeAndSensorReply()
test_partialReadBridgeNonzerostatusAndSensorReply()
test_partialReadBridgeReply()
test_partialReadCommand()
test_underlyingStreamRead1()
test_underlyingStreamRead1Fail()
test_underlyingStreamReadAll()
test_underlyingStreamReadManyFail()
test_underlyingStreamWrite()
test_write1Read1()
test_write1Read1Consume1()
test_writeManyRead1()
test_writeManyReadInterleaved()
test_writeManyReadPartialConsume()
test_writeReadCommand()
test_writeReadReply()
write_direct(b, s, *args, **kwargs)
write_underlying(b, s, *args, **kwargs)