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 @@ -4,15 +4,15 @@ class TestBranchesController(TestControl def test_index(self): self.log_user() - response = self.app.get(url(controller='branches', action='index', repo_name=HG_REPO)) + response = self.app.get(url(controller='branches', + action='index', repo_name=HG_REPO)) - assert """default""" % HG_REPO in response.body, 'wrong info about default branch' - assert """git""" % HG_REPO in response.body, 'wrong info about default git' - assert """web""" % HG_REPO in response.body, 'wrong info about default web' + self.assertTrue("""default""" % HG_REPO in response.body) + self.assertTrue("""git""" % HG_REPO in response.body) + self.assertTrue("""web""" % HG_REPO in response.body) - # Test response...