diff --git a/rhodecode/tests/functional/test_branches.py b/rhodecode/tests/functional/test_branches.py --- a/rhodecode/tests/functional/test_branches.py +++ b/rhodecode/tests/functional/test_branches.py @@ -6,10 +6,9 @@ class TestBranchesController(TestControl self.log_user() response = self.app.get(url(controller='branches', action='index', repo_name=HG_REPO)) - - self.assertTrue("""default""" % HG_REPO in response.body) - self.assertTrue("""git""" % HG_REPO in response.body) - self.assertTrue("""web""" % HG_REPO in response.body) + response.mustcontain("""default""" % HG_REPO) + response.mustcontain("""git""" % HG_REPO) + response.mustcontain("""web""" % HG_REPO)