Ejemplo n.º 1
0
 def test_right_input(self):
     with self._patch_user_input(game, 'w'):
         move = handle_user_input()
     self.assert_equal(move, 'w')
Ejemplo n.º 2
0
Archivo: tests.py Proyecto: andyzt/tceh
 def test_right_input(self):
     with self._patch_user_input(game, 'w'):
         move = handle_user_input()
     self.assert_equal(move, 'w')