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,5 +4,15 @@ class TestBranchesController(TestControl def test_index(self): self.log_user() - response = self.app.get(url(controller='branches', action='index',repo_name='vcs_test')) + 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...