Files
@ 5067d6e826a5
Branch filter:
Location: kallithea/rhodecode/tests/functional/test_followers.py - annotation
5067d6e826a5
797 B
text/x-python
created basic TestClass for tests that does
basic pylons stack init
basic pylons stack init
f9559677c953 f9559677c953 63e49418a4cc f9559677c953 f9559677c953 63e49418a4cc f9559677c953 f9559677c953 f9559677c953 f9559677c953 f9559677c953 f9559677c953 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc 63e49418a4cc | from rhodecode.tests import *
class TestFollowersController(TestController):
def test_index_hg(self):
self.log_user()
repo_name = HG_REPO
response = self.app.get(url(controller='followers',
action='followers',
repo_name=repo_name))
response.mustcontain("""test_admin""")
response.mustcontain("""Started following""")
def test_index_git(self):
self.log_user()
repo_name = GIT_REPO
response = self.app.get(url(controller='followers',
action='followers',
repo_name=repo_name))
response.mustcontain("""test_admin""")
response.mustcontain("""Started following""")
|