from rhodecode.tests import *
class TestBranchesController(TestController):
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...