Files @ 3761a66b8add
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_pullrequests.py

Mads Kiilerich
pullrequests: handle the case where no matching revisions are found for either end

Use -1 as default revision - that is the null revision.
1
2
3
4
5
6
7
8
9
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))