示例#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
文件: tests.py 项目: andyzt/tceh
 def test_right_input(self):
     with self._patch_user_input(game, 'w'):
         move = handle_user_input()
     self.assert_equal(move, 'w')