diff --git a/kallithea/tests/functional/test_feed.py b/kallithea/tests/functional/test_feed.py --- a/kallithea/tests/functional/test_feed.py +++ b/kallithea/tests/functional/test_feed.py @@ -3,18 +3,26 @@ from kallithea.tests import base class TestFeedController(base.TestController): - def test_rss(self): + @base.parametrize('repo', [ + base.HG_REPO, + base.GIT_REPO, + ]) + def test_rss(self, repo): self.log_user() response = self.app.get(base.url(controller='feed', action='rss', - repo_name=base.HG_REPO)) + repo_name=repo)) assert response.content_type == "application/rss+xml" assert """""" in response - def test_atom(self): + @base.parametrize('repo', [ + base.HG_REPO, + base.GIT_REPO, + ]) + def test_atom(self, repo): self.log_user() response = self.app.get(base.url(controller='feed', action='atom', - repo_name=base.HG_REPO)) + repo_name=repo)) assert response.content_type == """application/atom+xml""" assert """""" in response