Ejemplo n.º 1
0
 def test_logout_page(self):
   self.set_user('*****@*****.**')
   page = LogoutPage(self.request, self.response)
   page.redirect = self.response.redirect
   page.get()
   self.assertEqual(self.response.redirect_location, '/')
   self.assertTrue(AppDashboardHelper.DEV_APPSERVER_LOGIN_COOKIE in self.response.deleted_cookies)
Ejemplo n.º 2
0
 def test_logout_page(self):
   self.set_user('*****@*****.**')
   page = LogoutPage(self.request, self.response)
   page.redirect = self.response.redirect
   page.get()
   self.assertEqual(self.response.redirect_location, '/')
   self.assertTrue(AppDashboardHelper.DEV_APPSERVER_LOGIN_COOKIE in self.response.deleted_cookies)