Пример #1
0
 def test_right_input(self):
     with self._patch_user_input(game, 'w'):
         move = handle_user_input()
     self.assert_equal(move, 'w')
Пример #2
0
 def test_right_input(self):
     with self._patch_user_input(game, 'w'):
         move = handle_user_input()
     self.assert_equal(move, 'w')