diff mbox

tests: Fix issue with user profile page test

Message ID 1460122627-22817-1-git-send-email-stephen.finucane@intel.com
State Accepted
Headers show

Commit Message

Stephen Finucane April 8, 2016, 1:37 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Finucane April 8, 2016, 3:21 p.m. UTC | #1
On 08 Apr 14:37, Stephen Finucane wrote:
> 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>

Merged.
diff mbox

Patch

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/')