[PATCH] tests: Fix issue with user profile page test

Stephen Finucane stephen.finucane at intel.com
Fri Apr 8 23:37:07 AEST 2016


The title of the user profile page was changed in 'b3d1917', but the
test wasn't updated to reflect this. Fix this.

Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
---
 patchwork/tests/test_user.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patchwork/tests/test_user.py b/patchwork/tests/test_user.py
index 53482a8..f5e3c26 100644
--- a/patchwork/tests/test_user.py
+++ b/patchwork/tests/test_user.py
@@ -145,7 +145,7 @@ class UserProfileTest(TestCase):
 
     def testUserProfile(self):
         response = self.client.get('/user/')
-        self.assertContains(response, 'User Profile: %s' % self.user.username)
+        self.assertContains(response, 'Your Profile')
 
     def testUserProfileNoBundles(self):
         response = self.client.get('/user/')
-- 
2.0.0



More information about the Patchwork mailing list