Files
@ b2575bdb847c
Branch filter:
Location: kallithea/rhodecode/tests/functional/test_followers.py - annotation
b2575bdb847c
797 B
text/x-python
diffs: drop diffs.differ
This function did not really add any value, it was yet another layer that was
hiding the bug that we use ref[1] without ref[0], and it had this strange
undefined behaviour for diffing across repos.
Inlining the call to .get_diff do not make the code more complex but makes it
more obvious what is going on so it can be cleaned up later.
This function did not really add any value, it was yet another layer that was
hiding the bug that we use ref[1] without ref[0], and it had this strange
undefined behaviour for diffing across repos.
Inlining the call to .get_diff do not make the code more complex but makes it
more obvious what is going on so it can be cleaned up later.
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""")
|