view tox.ini @ 6493:fffb4e73700e

vcs: restructure authorization check This is a pure refactoring, except for some changed debug log messages. With this change, we simply return early if anonymous (= default user) access is enabled, which should help overall readability. (Diff becomes clearer if whitespace changes are ignored.)
author Søren Løvborg <sorenl@unity3d.com>
date Tue, 14 Feb 2017 20:27:45 +0100
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}