

def testSimpleWriting(self):
    s = 'Hello, world.'
    self.term.write(s)
    self.assertEqual(str(self.term), ((s + '\n') + ('\n' * (HEIGHT - 2))))

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/test/test_helper.py BufferTestCase.testSimpleWriting/original