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

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

src/p/t/ptahcrowd-HEAD/ptahcrowd/tests/test_user.py   ptahcrowd(Download)
 
        view = CreateUserForm(mod, request)
        view.update()
        self.assertIn(
            'Please fix indicated errors.',

src/p/t/ptahcrowd-0.2/ptahcrowd/tests/test_user.py   ptahcrowd(Download)
 
        view = CreateUserForm(mod, request)
        res = view.update()
        self.assertIsInstance(res, HTTPFound)
        self.assertEqual(res.headers['location'], '.')
 
        view = CreateUserForm(mod, request)
        view.update()
        self.assertIn(
            'Please fix indicated errors.',
 
        view = CreateUserForm(mod, request)
        res = view.update()
 
        self.assertIsInstance(res, HTTPFound)