Mercurial > kallithea
view tox.ini @ 6595:21d210d29d7f
gearbox: avoid duplicate logging setup when calling make_app
make_app initialized logging, while the gearbox common code does it too.
Split make_app in two to be able to avoid the redundant call.
The logging setup in make_app cannot be removed because it is needed for
'gearbox serve' and direct WSGI invocation, which does not pass through gearbox
common.py.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Fri, 14 Apr 2017 21:19:42 +0200 |
parents | dd676fdeda0f |
children | ab30729c735c |
line wrap: on
line source
[tox] minversion = 1.8 envlist = py{26,27}-pytest [testenv] setenv = PYTHONHASHSEED = 0 deps = -r{toxinidir}/dev_requirements.txt py26-pytest: unittest2 python-ldap python-pam commands = pytest: py.test {posargs}