Files @ fd8c0117ca22
Branch filter:

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

Thomas De Schampheleire
tests: move helper commit_change from compare test to fixture

Move the generic helper function _commit_change() to the fixture class,
allowing reuse by other test classes.
1
2
3
4
5
6
7
8
9
from kallithea.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))