Beispiel #1
0
def test_wrong_new_password():
    reset_form = authforms.pw_reset_form()
    assert not reset_form.validates(web.storify({
        'password': '******',
        'new': '123abc',
        'confirm': '123123'
    }))
Beispiel #2
0
def test_wrong_new_password():
    reset_form = authforms.pw_reset_form()
    assert not reset_form.validates(
        web.storify({
            'password': '******',
            'new': '123abc',
            'confirm': '123123'
        }))
Beispiel #3
0
def test_reset_form():
    reset_form = authforms.pw_reset_form()
    assert isinstance(reset_form, web.form.Form)
Beispiel #4
0
def test_reset_form():
    reset_form = authforms.pw_reset_form()
    assert isinstance(reset_form, web.form.Form)