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

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

src/p/t/ptahcrowd-HEAD/ptahcrowd/tests/test_join.py   ptahcrowd(Download)
 
        form = Registration(None, request)
        res = form.update()
 
        self.assertIsInstance(res, HTTPFound)
        request = self.make_request()
        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()
 

src/p/t/ptahcrowd-0.2/ptahcrowd/tests/test_join.py   ptahcrowd(Download)
 
        form = Registration(None, request)
        res = form.update()
 
        self.assertIsInstance(res, HTTPFound)
        request = self.make_request()
        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()