Mercurial > kallithea
comparison pylons_app/tests/functional/test_feed.py @ 473:6b934c9607e7 celery
Improved testing scenarios. Made test env creator
Fixed hg_model error message
some other tweeks and fixes
Models fixe for uniq email, and removed some extra not needed imports from model main module
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 13 Sep 2010 01:23:58 +0200 |
parents | 7c978511c951 |
children |
comparison
equal
deleted
inserted
replaced
472:91292686c1ed | 473:6b934c9607e7 |
---|---|
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_rss(self): | 5 def test_rss(self): |
6 self.log_user() | |
6 response = self.app.get(url(controller='feed', action='rss', | 7 response = self.app.get(url(controller='feed', action='rss', |
7 repo_name='vcs_test')) | 8 repo_name='vcs_test')) |
8 # Test response... | 9 # Test response... |
9 | 10 |
10 def test_atom(self): | 11 def test_atom(self): |
12 self.log_user() | |
11 response = self.app.get(url(controller='feed', action='atom', | 13 response = self.app.get(url(controller='feed', action='atom', |
12 repo_name='vcs_test')) | 14 repo_name='vcs_test')) |
13 # Test response... | 15 # Test response... |