pyramid_cubicweb/tests/test_login.py
changeset 11611 9d2bb6bdb5c8
parent 11562 a49f08423f02
child 11628 0f12ee84f30a
equal deleted inserted replaced
11610:4cac84a8bf5f 11611:9d2bb6bdb5c8
    37 
    37 
    38         cookies = self.webapp.cookiejar._cookies['localhost.local']['/']
    38         cookies = self.webapp.cookiejar._cookies['localhost.local']['/']
    39         self.assertNotIn('auth_tkt', cookies)
    39         self.assertNotIn('auth_tkt', cookies)
    40         self.assertIn('pauth_tkt', cookies)
    40         self.assertIn('pauth_tkt', cookies)
    41         self.assertIsNotNone(cookies['pauth_tkt'].expires)
    41         self.assertIsNotNone(cookies['pauth_tkt'].expires)
       
    42 
       
    43 
       
    44 if __name__ == '__main__':
       
    45     from unittest import main
       
    46     main()