diff --git a/rhodecode/tests/functional/test_compare_local.py b/rhodecode/tests/functional/test_compare_local.py --- a/rhodecode/tests/functional/test_compare_local.py +++ b/rhodecode/tests/functional/test_compare_local.py @@ -10,16 +10,17 @@ class TestCompareController(TestControll def test_compare_tag_hg(self): self.log_user() - tag1 = '0.1.2' - tag2 = '0.1.3' + tag1 = 'v0.1.2' + tag2 = 'v0.1.3' response = self.app.get(url(controller='compare', action='index', repo_name=HG_REPO, org_ref_type="tag", org_ref=tag1, other_ref_type="tag", other_ref=tag2, - )) + ), status=200) response.mustcontain('%s@%s -> %s@%s' % (HG_REPO, tag1, HG_REPO, tag2)) + ## outgoing changesets between tags response.mustcontain('''r112:c5ddebc06eaa''' % HG_REPO) response.mustcontain('''r115:70d4cef8a376''' % HG_REPO) @@ -54,7 +55,7 @@ class TestCompareController(TestControll org_ref=tag1, other_ref_type="tag", other_ref=tag2, - )) + ), status=200) response.mustcontain('%s@%s -> %s@%s' % (GIT_REPO, tag1, GIT_REPO, tag2)) ## outgoing changesets between tags