diff --git a/rhodecode/tests/functional/test_changeset_comments.py b/rhodecode/tests/functional/test_changeset_comments.py --- a/rhodecode/tests/functional/test_changeset_comments.py +++ b/rhodecode/tests/functional/test_changeset_comments.py @@ -75,11 +75,15 @@ class TestChangeSetCommentsController(Te repo_name=HG_REPO, revision=rev)) #test DB self.assertEqual(ChangesetComment.query().count(), 1) - self.assertTrue('''
0 comment(s)''' - ''' (%s inline)
''' % 1 in response.body) - self.assertTrue('''
''' in response.body) + response.mustcontain( + '''
0 comment(s)''' + ''' (%s inline)
''' % 1 + ) + response.mustcontain( + '''