def test_get_user_info_invalid_email(self):
    """Tests the get_user_info function when the admin field is False."""
    cookie_value = self.get_cookie_value('foo', NICKNAME, False)
    cookie_value = 'foo:True:%s' % USER_ID

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

    self.assertEqual('', email)
    self.assertFalse(admin)
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/login_test.py/CookieTest.test_get_user_info_invalid_email/original