Mercurial > kallithea
comparison kallithea/tests/functional/test_feed.py @ 5922:7f2aa3ec2931
pytest migration: rename TestControllerPytest back to TestController
The name TestControllerPytest was introduced to allow a temporary situation
where nose/unittest and pytest-based tests could coexist.
This situation is now over, so the base test class can be renamed again.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Sun, 15 May 2016 22:37:37 +0200 |
parents | 5adc4ad9ce77 |
children | 8d98924c58b1 |
comparison
equal
deleted
inserted
replaced
5921:cbeed250b599 | 5922:7f2aa3ec2931 |
---|---|
1 from kallithea.tests import * | 1 from kallithea.tests import * |
2 | 2 |
3 class TestFeedController(TestControllerPytest): | 3 class TestFeedController(TestController): |
4 | 4 |
5 def test_rss(self): | 5 def test_rss(self): |
6 self.log_user() | 6 self.log_user() |
7 response = self.app.get(url(controller='feed', action='rss', | 7 response = self.app.get(url(controller='feed', action='rss', |
8 repo_name=HG_REPO)) | 8 repo_name=HG_REPO)) |