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

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

src/p/t/ptahcrowd-0.2/ptahcrowd/tests/test_resetpassword.py   ptahcrowd(Download)
    def test_resetpassword_form_unknown_passcode(self):
        from ptahcrowd.resetpassword import ResetPasswordForm
 
        request = self.make_request(subpath=('unknown',))
 
        form = ResetPasswordForm(None, request)
    def test_resetpassword_form_update(self):
        from ptahcrowd.provider import CrowdUser
        from ptahcrowd.resetpassword import ResetPasswordForm
 
        user = CrowdUser(name='name', login='login', email='email')
        request = self.make_request(subpath=(passcode,))
 
        form = ResetPasswordForm(None, request)
        form.update()
 
    def test_resetpassword_form_change_errors(self):
        from ptahcrowd.provider import CrowdUser
        from ptahcrowd.resetpassword import ResetPasswordForm
 
        user = CrowdUser(name='name', login='login', email='email')

src/p/t/ptahcrowd-HEAD/ptahcrowd/tests/test_resetpassword.py   ptahcrowd(Download)
    def test_resetpassword_form_unknown_passcode(self):
        from ptahcrowd.resetpassword import ResetPasswordForm
 
        request = self.make_request(subpath=('unknown',))
 
        form = ResetPasswordForm(None, request)
    def test_resetpassword_form_update(self):
        from ptahcrowd.provider import CrowdUser
        from ptahcrowd.resetpassword import ResetPasswordForm
 
        user = CrowdUser(name='name', login='login', email='email')
        request = self.make_request(subpath=(passcode,))
 
        form = ResetPasswordForm(None, request)
        form.update()
 
    def test_resetpassword_form_change_errors(self):
        from ptahcrowd.provider import CrowdUser
        from ptahcrowd.resetpassword import ResetPasswordForm
 
        user = CrowdUser(name='name', login='login', email='email')