Test moving the cursor up.
(self)
| 1423 | self.mock_win.reset_mock() |
| 1424 | |
| 1425 | def test_move_up(self): |
| 1426 | """Test moving the cursor up.""" |
| 1427 | self.mock_win.reset_mock() |
| 1428 | self.textbox.do_command(curses.KEY_UP) |
| 1429 | self.mock_win.move.assert_called_with(0, 1) |
| 1430 | self.mock_win.reset_mock() |
| 1431 | |
| 1432 | def test_move_down(self): |
| 1433 | """Test moving the cursor down.""" |
nothing calls this directly
no test coverage detected