view tox.ini @ 7386:e885a8efef34

tests: fix vcs Hg helper function get_config_value to not modify global state when using a custom config file This leak was what made test_get_user_name and test_get_user_email pass when test_get_config_value had been run first.
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 30 Sep 2018 18:31:37 +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}