##// END OF EJS Templates
reverted copy of cached instance:...
reverted copy of cached instance: CPython changelog total_time 39.7253162861 average on req 0.993132907152 changesets total_time 42.5156304836 average on req 0.425156304836 Total: 546 MB changelog total_time 35.5851216316 average on req 0.889628040791 changesets total_time 30.3608012199 average on req 0.303608012199 Total: 475 MB

File last commit:

r688:8acbfa83 beta
r1340:cbdd583f beta
Show More
test_branches.py
18 lines | 723 B | text/x-python | PythonLexer
renamed project to rhodecode
r547 from rhodecode.tests import *
class TestBranchesController(TestController):
def test_index(self):
self.log_user()
Tests rewrite for 1.2 added some globals configs to make tests easier....
r688 response = self.app.get(url(controller='branches', action='index', repo_name=HG_REPO))
assert """<a href="/%s/changeset/27cd5cce30c96924232dffcd24178a07ffeb5dfc">default</a>""" % HG_REPO in response.body, 'wrong info about default branch'
assert """<a href="/%s/changeset/97e8b885c04894463c51898e14387d80c30ed1ee">git</a>""" % HG_REPO in response.body, 'wrong info about default git'
assert """<a href="/%s/changeset/2e6a2bf9356ca56df08807f4ad86d480da72a8f4">web</a>""" % HG_REPO in response.body, 'wrong info about default web'
renamed project to rhodecode
r547 # Test response...