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

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

src/p/t/ptah_crowd-0.1/ptah_crowd/tests/test_join.py   ptah_crowd(Download)
 
        form = Registration(None, request)
        res = form.update()
 
        self.assertIsInstance(res, HTTPFound)
        request = DummyRequest()
        form = Registration(None, request)
        res = form.update()
        self.assertIsInstance(res, HTTPForbidden)
 
 
        form = Registration(None, request)
        form.update()
 
        data, errors = form.extract()
                    'confirm_password': '12345'})
        form = Registration(None, request)
        form.update()
        data, errors = form.extract()
        self.assertEqual(len(errors), 0)
 
        form = Registration(None, request)
        form.update()
        res = form.register_handler()