Mercurial > kallithea
view tox.ini @ 5146:08ad393e6866
tests: move pytest settings from kallithea/tests/pytest.ini to setup.cfg
pytest.ini was added in 9b8ba0f1c87b but didn't work. pytest only uses one
configuration file and does not merge settings from multiple files [1]. The
first detected file is setup.cfg thus should contain all relevant
configuration.
[1] http://pytest.org/latest/customize.html#initialization-determining-rootdir-and-inifile
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Thu, 14 May 2015 21:05:47 +0200 |
parents | 8c1258f69892 |
children | 768989c595aa |
line wrap: on
line source
[tox] envlist = py{26,27}-{pytest,nose} [testenv] setenv = PYTHONHASHSEED = 0 deps = nose: nose pytest: pytest commands = nose: nosetests {posargs} pytest: py.test {posargs}