##// END OF EJS Templates
move permission check of write access to repo groups inside a form....
move permission check of write access to repo groups inside a form. - it's runned via create/edit/fork forms - in case we have disabled repo creation, it will check root location write access for people that are not super admins, or have explicity create repo permission - in case there's a group value passed to form, it checks just admin or write access

File last commit:

r1375:f9559677 beta
r3372:157231a4 beta
Show More
test_followers.py
13 lines | 457 B | text/x-python | PythonLexer
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)