view tox.ini @ 7770:6da70f4569bf

ssh: introduce ini setting 'ssh_enabled', disabled by default Administrators should control the use of SSH and may want to disable SSH access, temporarily or permanently. An explicit setting ssh_enabled is better than e.g. checking for a valid ssh_authorized_keys setting, to allow such trivial temporary disabling. To keep the controllers simple, introduce a decorator IfSshEnabled instead of repeating the same config checks in every method.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Fri, 19 Jul 2019 01:12:35 +0200
parents ab30729c735c
children
line wrap: on
line source

[tox]
minversion = 1.8
envlist = py27-pytest

[testenv]
setenv =
    PYTHONHASHSEED = 0
deps =
    -r{toxinidir}/dev_requirements.txt
    python-ldap
    python-pam
commands =
    pytest: py.test {posargs}