view tox.ini @ 5702:b755464eff8d

pytest migration: use pytest test skipping instead of nose's While the nose test skipping still worked, we want to remove all remnants of nose, so switch to the pytest equivalent. Note: due to a bug in pytest-sugar (reported at [1]) the skipped tests are not shown explicitly when using the 'skipif' approach, while they were with the nose approach. Since pytest-sugar is not enabled yet in setup.py, this is not deemed a problem. [1] https://github.com/Frozenball/pytest-sugar/issues/75
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Wed, 03 Feb 2016 22:33:59 +0100
parents 6a83b399bb3c
children b2195895bbd7
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py{26,27}-pytest

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