From: Stephen Finucane Date: Fri, 8 Apr 2016 13:35:00 +0000 (+0100) Subject: tests: Fix issue with user profile page test X-Git-Tag: v2.0.0-rc1~367 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a55d5e89adaae3c6b662166802853a4414fed2e;p=thirdparty%2Fpatchwork.git tests: Fix issue with user profile page test 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 --- diff --git a/patchwork/tests/test_user.py b/patchwork/tests/test_user.py index 53482a81..f5e3c269 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/')