view rhodecode/tests/functional/test_pullrequests.py @ 2946:dbb311201ce3 beta

add test for enabling lightweight dashboard
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 20 Oct 2012 16:50:00 +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))