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,8 @@ class TestBranchesController(TestControl def test_index(self): self.log_user() - 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' - - - - - - - # Test response... + response = self.app.get(url(controller='branches', + action='index', repo_name=HG_REPO)) + response.mustcontain("""default""" % HG_REPO) + response.mustcontain("""git""" % HG_REPO) + response.mustcontain("""web""" % HG_REPO)