from rhodecode.tests import *
class TestTagsController(TestController):
def test_index(self):
self.log_user()
response = self.app.get(url(controller='tags', action='index', repo_name=HG_REPO))
response.mustcontain("""tip""" % HG_REPO)
response.mustcontain("""0.1.4""" % HG_REPO)
response.mustcontain("""0.1.3""" % HG_REPO)
response.mustcontain("""0.1.2""" % HG_REPO)
response.mustcontain("""0.1.1""" % HG_REPO)