Exemplo n.º 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'
    }))
Exemplo n.º 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'
        }))
Exemplo n.º 3
0
def test_reset_form():
    reset_form = authforms.pw_reset_form()
    assert isinstance(reset_form, web.form.Form)
Exemplo n.º 4
0
def test_reset_form():
    reset_form = authforms.pw_reset_form()
    assert isinstance(reset_form, web.form.Form)