MCPcopy Index your code
hub / github.com/python/cpython / test_move_down

Method test_move_down

Lib/test/test_curses.py:1432–1437  ·  view source on GitHub ↗

Test moving the cursor down.

(self)

Source from the content-addressed store, hash-verified

1430 self.mock_win.reset_mock()
1431
1432 def test_move_down(self):
1433 """Test moving the cursor down."""
1434 self.mock_win.reset_mock()
1435 self.textbox.do_command(curses.KEY_DOWN)
1436 self.mock_win.move.assert_called_with(2, 1)
1437 self.mock_win.reset_mock()
1438
1439
1440if __name__ == '__main__':

Callers

nothing calls this directly

Calls 3

do_commandMethod · 0.80
assert_called_withMethod · 0.80
reset_mockMethod · 0.45

Tested by

no test coverage detected