view tox.ini @ 6147:ca9c7cddb2bf

tests: bump pytest version requirement to allow 3.x pytest is an active project, since our previous requirement setting there have been many releases, with new features and bug fixes. One of the improvements in pytest-3.0 is that 'yield_fixture' (a fixture that can embed cleanup code after a yield) is no longer different than 'fixture', i.e. a standard fixture supports the yield cleanup mechanism. We will switch to use that when we make 3.0 mandatory.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Thu, 25 Aug 2016 21:19:26 +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}