Files
@ af049a957506
Branch filter:
Location: kallithea/rhodecode/tests/functional/test_followers.py - annotation
af049a957506
797 B
text/x-python
fixed default permissions population during upgrades
- it often happen that introducing new permission
caused default permission to reset it's state to installation
default.
new version makes sure that only missing permissions are
created while leaving old defaults
- it often happen that introducing new permission
caused default permission to reset it's state to installation
default.
new version makes sure that only missing permissions are
created while leaving old defaults
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""")
|