Add assertion for resetting dirty tracking on flush

This commit is contained in:
Andrew Kay
2019-09-14 07:57:15 -05:00
parent d830fd2b47
commit 628c65e1c2
2 changed files with 4 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ class SessionHandleHostTestCase(unittest.TestCase):
terminal.display.move_cursor.assert_called_with(row=0, column=3)
self.assertFalse(session.vt100_screen.dirty)
class SessionHandleKeyTestCase(unittest.TestCase):
def setUp(self):
self.terminal = Mock()