view tox.ini @ 7847:a38e05a0c79e

tg2: handle cache_dir configuration jumping around between TurboGears versions Tweak 87672c1916f8 - the use of 'tg.cache_dir' turns out to not be a good idea. TurboGears 2.4 moved 'cache_dir' configuration to the expected 'cache_dir' key, and no longer has 'tg.cache_dir' ... and also not the old 'app_conf'.'cache_dir' . Just try both locations.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 28 Aug 2019 12:28:01 +0200
parents ab30729c735c
children
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py27-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    -r{toxinidir}/dev_requirements.txt
    python-ldap
    python-pam
commands =
    pytest: py.test {posargs}