Mercurial > kallithea
comparison pylons_app/tests/functional/test_feed.py @ 459:7c978511c951
implemented basic (startup) nose test suite.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 05 Sep 2010 16:20:29 +0200 |
parents | 66b20f525750 |
children | 6b934c9607e7 |
comparison
equal
deleted
inserted
replaced
458:00f883abdb0c | 459:7c978511c951 |
---|---|
1 from pylons_app.tests import * | 1 from pylons_app.tests import * |
2 | 2 |
3 class TestFeedController(TestController): | 3 class TestFeedController(TestController): |
4 | 4 |
5 def test_index(self): | 5 def test_rss(self): |
6 response = self.app.get(url(controller='feed', action='index')) | 6 response = self.app.get(url(controller='feed', action='rss', |
7 repo_name='vcs_test')) | |
7 # Test response... | 8 # Test response... |
9 | |
10 def test_atom(self): | |
11 response = self.app.get(url(controller='feed', action='atom', | |
12 repo_name='vcs_test')) | |
13 # Test response... |