From fdfdb1390f7f4aa8155465d670416d18b382c126 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Fri, 19 Mar 2010 09:54:14 -0400 Subject: [PATCH] Update functional tests for /user to incorporate new URLs. --- bluechips/tests/functional/test_user.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bluechips/tests/functional/test_user.py b/bluechips/tests/functional/test_user.py index c27983b..96b0198 100644 --- a/bluechips/tests/functional/test_user.py +++ b/bluechips/tests/functional/test_user.py @@ -6,8 +6,8 @@ from bluechips.model import meta class TestUserController(TestController): - def test_index(self): - response = self.app.get(url_for(controller='user')) + def test_email(self): + response = self.app.get(url_for(controller='user', action='email')) # Test response... response.mustcontain('Email Notifications', 'User Settings') form = response.form @@ -20,7 +20,7 @@ class TestUserController(TestController): assert user.email == 'test@example.com' def test_clear_email(self): - response = self.app.get(url_for(controller='user')) + response = self.app.get(url_for(controller='user', action='email')) form = response.form form['new_email'] = '' response = form.submit().follow() -- 2.45.2