aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_auth.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:22:26 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:22:26 -0500
commit0bc036209dab581ad60b97231473c832fca9e875 (patch)
tree0ee3a19f3f1e3116b8a33e2da0e758c7984c3799 /mediagoblin/tests/test_auth.py
parent7074304c91bfc19e2a6365f3d9567ec5a2636f9d (diff)
downloadmediagoblin-0bc036209dab581ad60b97231473c832fca9e875.tar.lz
mediagoblin-0bc036209dab581ad60b97231473c832fca9e875.tar.xz
mediagoblin-0bc036209dab581ad60b97231473c832fca9e875.zip
Redirect to the user's profile after registration
- Updated the view - Updated the tests - Fixed a weirdness in the registration view where the 'user' variable used to be called 'entry'
Diffstat (limited to 'mediagoblin/tests/test_auth.py')
-rw-r--r--mediagoblin/tests/test_auth.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/tests/test_auth.py b/mediagoblin/tests/test_auth.py
index ad9dd35b..ccb9a536 100644
--- a/mediagoblin/tests/test_auth.py
+++ b/mediagoblin/tests/test_auth.py
@@ -153,9 +153,9 @@ def test_register_views(test_app):
## Did we redirect to the proper page? Use the right template?
assert_equal(
urlparse.urlsplit(response.location)[2],
- '/auth/register/success/')
+ '/u/happygirl/')
assert util.TEMPLATE_TEST_CONTEXT.has_key(
- 'mediagoblin/auth/register_success.html')
+ 'mediagoblin/user_pages/user.html')
## Make sure user is in place
new_user = mg_globals.database.User.find_one(