view tox.ini @ 6141:1ba7e0c0d3b3

tests: admin_permissions: make sure all custom IP permissions are cleared test_add_ips changes IP permissions and at the end tries to clean up by deleting it again. When the delete fails, there is still a restricted IP permission configuration, causing other tests to fail. Attempt a direct delete to the database without relying on the application post/get interface.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Fri, 29 Jul 2016 22:04:53 +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}