##// END OF EJS Templates
moved out password reset tasks from celery, it doesn't make any sense to keep them there, additionally they are broken...
moved out password reset tasks from celery, it doesn't make any sense to keep them there, additionally they are broken in when executing _(), and url() calls. This fixes issue #572

File last commit:

r1818:cf51bbfb beta
r3401:5c310b7b beta
Show More
test_branches.py
11 lines | 611 B | text/x-python | PythonLexer
renamed project to rhodecode
r547 from rhodecode.tests import *
class TestBranchesController(TestController):
def test_index(self):
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))
test fixes
r1788 response.mustcontain("""<a href="/%s/files/27cd5cce30c96924232dffcd24178a07ffeb5dfc/">default</a>""" % HG_REPO)
response.mustcontain("""<a href="/%s/files/97e8b885c04894463c51898e14387d80c30ed1ee/">git</a>""" % HG_REPO)
response.mustcontain("""<a href="/%s/files/2e6a2bf9356ca56df08807f4ad86d480da72a8f4/">web</a>""" % HG_REPO)