Mercurial > kallithea
view kallithea/tests/functional/test_changeset.py @ 8687:5e46f73f0d1c
model: always import the whole db module - drop "from" imports
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 12 Oct 2020 11:12:37 +0200 |
parents | e527cc2ce8dc |
children |
line wrap: on
line source
from kallithea.tests import base class TestChangesetController(base.TestController): def test_index(self): response = self.app.get(base.url(controller='changeset', action='index', repo_name=base.HG_REPO, revision='tip')) # Test response... def test_changeset_range(self): #print self.app.get(base.url(controller='changelog', action='index', repo_name=base.HG_REPO)) response = self.app.get(base.url(controller='changeset', action='index', repo_name=base.HG_REPO, revision='a53d9201d4bc278910d416d94941b7ea007ecd52...96507bd11ecc815ebc6270fdf6db110928c09c1e')) response = self.app.get(base.url(controller='changeset', action='changeset_raw', repo_name=base.HG_REPO, revision='a53d9201d4bc278910d416d94941b7ea007ecd52')) response = self.app.get(base.url(controller='changeset', action='changeset_patch', repo_name=base.HG_REPO, revision='a53d9201d4bc278910d416d94941b7ea007ecd52')) response = self.app.get(base.url(controller='changeset', action='changeset_download', repo_name=base.HG_REPO, revision='a53d9201d4bc278910d416d94941b7ea007ecd52'))