'C{write} transforms C{"
"} into C{"'

def test_newline(self):

    self.term.cursorForward(5)
    self.term.cursorDown(3)
    self.assertEqual(self.term.reportCursorPosition(), (5, 3))
    self.term.write('\n')
    self.assertEqual(self.term.reportCursorPosition(), (0, 4))
