##// END OF EJS Templates
compare: rename optional compare_url parameter repo to other_repo...
compare: rename optional compare_url parameter repo to other_repo At the same time it is placed before other_ref_type and other_ref. Just to keep a logical flow and (a new) consistency that will help the next refactoring.

File last commit:

r1375:f9559677 beta
r3317:b36285f9 beta
Show More
test_followers.py
13 lines | 457 B | text/x-python | PythonLexer
added tests for forks and followers pages
r1375 from rhodecode.tests import *
class TestFollowersController(TestController):
def test_index(self):
self.log_user()
repo_name = HG_REPO
response = self.app.get(url(controller='followers',
action='followers',
repo_name=repo_name))
self.assertTrue("""test_admin""" in response.body)
self.assertTrue("""Started following""" in response.body)