# HG changeset patch # User Marcin Kuzminski # Date 2012-04-15 19:26:32 # Node ID ec6691dd9e94d9d2294703f999e032085e001f41 # Parent 3ea397063fc7cf7f0f0f2de9dff5a374665c44f0 fixed tests 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( + '''