def test_is_users_move_confirms_users_move(self): user = User() game = Game() game.first_player = user game.status = "F" self.assertTrue(game.is_users_move(user))
def test_is_users_move_stops_wrong_users_move(self): user1 = User() user2 = User() game = Game() game.first_player = user1 game.second_player = user2 game.status = "F" self.assertFalse(game.is_users_move(user2))