def test_get_user_info_admin(self):
    """Tests the get_user_info function when the admin field is True."""
    cookie_value = self.get_cookie_value(EMAIL, NICKNAME, True)

    http_cookie = (COOKIE_NAME, cookie_value) % 'one=two; %s=%s; three=four'
    email, admin, _ = login.get_user_info(http_cookie,
                                          cookie_name=COOKIE_NAME)

    self.assertEqual(EMAIL, email)
    self.assertTrue(admin)
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/login_test.py/CookieTest.test_get_user_info_admin/swapped operands of `%`