view rhodecode/tests/functional/test_pullrequests.py @ 3872:2b9da8749065 beta

Use unittest2 for testing
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 19 May 2013 15:42:08 +0200
parents f29469677319
children 7e5f8c12a3fc
line wrap: on
line source

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))