|
|
@ -8,7 +8,6 @@ from . import testapp, get_token_url |
|
|
|
from .. import get_user |
|
|
|
from .. import get_user |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.xfail |
|
|
|
|
|
|
|
def test_reset_password(testapp): |
|
|
|
def test_reset_password(testapp): |
|
|
|
''' test the complete reset password process ''' |
|
|
|
''' test the complete reset password process ''' |
|
|
|
|
|
|
|
|
|
|
@ -55,7 +54,8 @@ def test_reset_password(testapp): |
|
|
|
form = response.forms[1] |
|
|
|
form = response.forms[1] |
|
|
|
form['username'] = 'TerryGilliam' |
|
|
|
form['username'] = 'TerryGilliam' |
|
|
|
form['password'] = 'Nudge Nudge' |
|
|
|
form['password'] = 'Nudge Nudge' |
|
|
|
response = form.submit().follow() |
|
|
|
response = form.submit() |
|
|
|
|
|
|
|
response = testapp.get('/faq') |
|
|
|
assert '<!-- user is logged in -->' in response |
|
|
|
assert '<!-- user is logged in -->' in response |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|