def test_queueio_write(): q = Queue() qio = QueueIO(q) qio.write('test') assert q.get() == {'output': 'test'}
def test_queueio_random_methods(): qio = QueueIO(Queue()) assert qio.isatty() is False assert qio.flush() is None