##// END OF EJS Templates
Allow RhodeCode maintainers to specify a custom bug tracker....
Allow RhodeCode maintainers to specify a custom bug tracker. This allows people who maintain large RhodeCode installations to setup their own bug tracker and respond to requests against their specific installation. The maintainer is then free to forward problems with RhodeCode to the canonical issue tracker on bitbucket. If the config option "bugtracker" is present, its value will be used with the "Report a bug" button. If left blank, this disables the button. If no value is present, then the default is used. This is so that the new config option doesn't break installations of RhodeCode upgrading to a newer version and to allow easier installation for the common use case.

File last commit:

r3797:d7488551 beta
r4006:cdf10b3d default
Show More
test_branches.py
20 lines | 974 B | text/x-python | PythonLexer
renamed project to rhodecode
r547 from rhodecode.tests import *
synced vcs with upstream...
r3797
renamed project to rhodecode
r547 class TestBranchesController(TestController):
synced vcs with upstream...
r3797 def test_index_hg(self):
renamed project to rhodecode
r547 self.log_user()
- refactoring to overcome poor usage of global pylons config...
r1723 response = self.app.get(url(controller='branches',
action='index', repo_name=HG_REPO))
synced vcs with upstream...
r3797 response.mustcontain("""<a href="/%s/files/96507bd11ecc815ebc6270fdf6db110928c09c1e/">default</a>""" % HG_REPO)
# closed branches
response.mustcontain("""<a href="/%s/changeset/95ca6417ec0de6ac3bd19b336d7b608f27b88711">git [closed]</a><""" % HG_REPO)
response.mustcontain("""<a href="/%s/changeset/0dd5fd7b37a4eea4dd9b662af63cee743b4ccce2">web [closed]</a>""" % HG_REPO)
def test_index_git(self):
self.log_user()
response = self.app.get(url(controller='branches',
action='index', repo_name=GIT_REPO))
response.mustcontain("""<a href="/%s/files/5f2c6ee195929b0be80749243c18121c9864a3b3/">master</a>""" % GIT_REPO)