aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_auth.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-01 19:20:38 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-01 19:20:38 +0100
commit445d811043c5cb8b801b91604da6e3967d7ba3b7 (patch)
tree4ad963162e41d0208c6a3373fc5cdb3943820e36 /mediagoblin/tests/test_auth.py
parent35149b11247846506b31ef3cd6647b659b18f352 (diff)
downloadmediagoblin-445d811043c5cb8b801b91604da6e3967d7ba3b7.tar.lz
mediagoblin-445d811043c5cb8b801b91604da6e3967d7ba3b7.tar.xz
mediagoblin-445d811043c5cb8b801b91604da6e3967d7ba3b7.zip
Fix unit tests for new forget password flow
After changing the password, the login page is now shown. It contains a message. (we can't test for that easily currently. There is a bug open on this problem.) At least for the login page being shown now.
Diffstat (limited to 'mediagoblin/tests/test_auth.py')
-rw-r--r--mediagoblin/tests/test_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/test_auth.py b/mediagoblin/tests/test_auth.py
index e54ffa5a..411b4539 100644
--- a/mediagoblin/tests/test_auth.py
+++ b/mediagoblin/tests/test_auth.py
@@ -291,7 +291,7 @@ def test_register_views(test_app):
'token': parsed_get_params['token']})
response.follow()
assert template.TEMPLATE_TEST_CONTEXT.has_key(
- 'mediagoblin/auth/fp_changed_success.html')
+ 'mediagoblin/auth/login.html')
## Verify step 2.2 of password-change works -- login w/ new password success
template.clear_test_template_context()