Files @ 1ed2e7271e03
Branch filter:

Location: kallithea/tox.ini

Thomas De Schampheleire
tests: search: fix always-skipped empty-search-index test

The test that verifies the output when the search index is empty is always
skipped when following the standard development setup, so is useless.

Instead, fix the test by mocking the configuration, pointing the search
index to a valid location but without index.
[tox]
minversion = 1.8
envlist = py{26,27}-{pytest,nose}

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    nose: nose
    pytest: pytest
commands =
    nose: nosetests {posargs}
    pytest: py.test {posargs}