Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_validation.py   ptah_crowd(Download)
        t = ptah.token.service.generate(validation.TOKEN_TYPE, user.__uri__)
 
        res = validation.validate(self.request)
        self.assertIsInstance(res, HTTPFound)
        self.assertIn(
        self.request.session.clear()
 
        res = validation.validate(self.request)
        self.assertIn("Account has been successfully validated.",
                      ptah.render_messages(self.request))