def test_newuser_success(self):
    self.set_post({
      'user_email' : 'c@a.com',
      'user_password' : 'aaaaaa',
      'user_password_confirmation' : 'aaaaaa',
    })
    page = NewUserPage(self.request, self.response)
    page.redirect = self.response.redirect
    page.post()
    self.assertTrue(self.response.cookies in AppDashboardHelper.DEV_APPSERVER_LOGIN_COOKIE)
    self.assertEqual(self.response.redirect_location, '/')
dataset/ETHPy150Open AppScale/appscale/AppDashboard/test/functional/test_dashboard.py/FunctionalTestAppDashboard.test_newuser_success/swapped operands of `in`