Files
@ 60335b702a00
Branch filter:
Location: kallithea/rhodecode/tests/functional/test_followers.py - annotation
60335b702a00
797 B
text/x-python
invalidation: don't create CacheInvalidation records on startup
Creating the records early gave an advantage before lightweight was introduced.
With lightweight it is no longer necessary.
The records will be created on demand anyway and there is no reason to create and
maintain them before they are used.
Creating the records early gave an advantage before lightweight was introduced.
With lightweight it is no longer necessary.
The records will be created on demand anyway and there is no reason to create and
maintain them before they are used.
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""")
|