Mercurial > kallithea
comparison rhodecode/tests/functional/test_followers.py @ 1375:f9559677c953 beta
added tests for forks and followers pages
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 09 Jun 2011 17:33:19 +0200 |
parents | |
children | 63e49418a4cc |
comparison
equal
deleted
inserted
replaced
1374:a16f163200b8 | 1375:f9559677c953 |
---|---|
1 from rhodecode.tests import * | |
2 | |
3 class TestFollowersController(TestController): | |
4 | |
5 def test_index(self): | |
6 self.log_user() | |
7 repo_name = HG_REPO | |
8 response = self.app.get(url(controller='followers', | |
9 action='followers', | |
10 repo_name=repo_name)) | |
11 | |
12 self.assertTrue("""test_admin""" in response.body) | |
13 self.assertTrue("""Started following""" in response.body) |