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))
response.mustcontain("""default""" % HG_REPO)
response.mustcontain("""git""" % HG_REPO)
response.mustcontain("""web""" % HG_REPO)