# HG changeset patch # User Marcin Kuzminski # Date 1334517992 -7200 # Node ID ec6691dd9e94d9d2294703f999e032085e001f41 # Parent 3ea397063fc7cf7f0f0f2de9dff5a374665c44f0 fixed tests diff -r 3ea397063fc7 -r ec6691dd9e94 rhodecode/tests/functional/test_changeset_comments.py --- a/rhodecode/tests/functional/test_changeset_comments.py Sun Apr 15 20:30:17 2012 +0200 +++ b/rhodecode/tests/functional/test_changeset_comments.py Sun Apr 15 21:26:32 2012 +0200 @@ -75,11 +75,15 @@ 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( + '''