

def testLineInsertion(self):
    s1 = 'Hello world'
    s2 = 'Goodbye world'
    self.term.write('\n'.join((s1, s2)))
    self.term.cursorPosition(7, 1)
    self.term.insertLine()
    self.assertEqual(str(self.term), (((((s1 + '\n') + '\n') + s2) + '\n') + ('\n' * (HEIGHT - 4))))

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