##// END OF EJS Templates
compare: cleanup of as_form handling...
compare: cleanup of as_form handling as_form is only used when loaded 'partial' from pullrequest.html. Including it in the 'Detailed compare view' url did thus not do any harm. as_form is never used in pullrequest_show.html or compare_diff.html and it is thus never used together with swap_url ... which is why the wrong 'as_form=None' or 'as_form=False' in urls didn't do any harm.

File last commit:

r2434:f2946967 codereview
r3442:b3680a20 beta
Show More
test_pullrequests.py
9 lines | 268 B | text/x-python | PythonLexer
from rhodecode.tests import *
class TestPullrequestsController(TestController):
def test_index(self):
self.log_user()
response = self.app.get(url(controller='pullrequests', action='index',
repo_name=HG_REPO))