Mercurial > kallithea
view rhodecode/tests/functional/test_followers.py @ 3651:659bd922520e beta
config: rename options to show_revision_number and show_sha_length
'sha_show_numeric_rev' had nothing to do with the sha value.
The revision numbers are kind of native to Mercurial and there they are known
as 'revision numbers'.
'sha_len' was very short and didn't clarify that it only controlled what was shown.
These settings are currently only used in the changelog, but they should be used everywhere.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 03 Apr 2013 15:56:12 +0200 |
parents | 63e49418a4cc |
children | 7e5f8c12a3fc |
line wrap: on
line source
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""")