]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tests: Fix issue with user profile page test
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 8 Apr 2016 13:35:00 +0000 (14:35 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Fri, 8 Apr 2016 13:56:55 +0000 (14:56 +0100)
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@intel.com>
patchwork/tests/test_user.py

index 53482a8193948c53ebb88c0bdb026806585a264c..f5e3c269de4a26c5a191e36c45997ee0049309f9 100644 (file)
@@ -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/')