Esempio n. 1
0
 def test_right_input(self):
     with self._patch_user_input(game, 'w'):
         move = handle_user_input()
     self.assert_equal(move, 'w')
Esempio n. 2
0
File: tests.py Progetto: andyzt/tceh
 def test_right_input(self):
     with self._patch_user_input(game, 'w'):
         move = handle_user_input()
     self.assert_equal(move, 'w')