Files @ eaf1782bee64
Branch filter:

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

Marcin Kuzminski
add option to disable whoosh index in tests via an enviroment variable.
- helps speed up testing, when whoosh is noot needed
1
2
3
4
5
6
7
8
from rhodecode.tests import *

class TestChangesetController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='changeset', action='index',
                                    repo_name=HG_REPO,revision='tip'))
        # Test response...