|
|
|
@ -7,7 +7,7 @@ ignore_basepython_conflict = True
|
|
|
|
|
[testenv] |
|
|
|
|
basepython = python3 |
|
|
|
|
usedevelop = True |
|
|
|
|
passenv = * |
|
|
|
|
passenv = TERM |
|
|
|
|
setenv = |
|
|
|
|
ANSIBLE_CALLBACK_PLUGINS={toxinidir}/callback_plugins |
|
|
|
|
ANSIBLE_LOOKUP_PLUGINS={toxinidir}/lookup_plugins |
|
|
|
@ -21,8 +21,13 @@ setenv =
|
|
|
|
|
# paramiko CryptographyDeprecationWarning: https://github.com/ansible/ansible/issues/52598 |
|
|
|
|
PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command,ignore::UserWarning |
|
|
|
|
PIP_DISABLE_PIP_VERSION_CHECK=1 |
|
|
|
|
commands = python setup.py test --slowest --testr-args='{posargs}' |
|
|
|
|
sitepackages = True |
|
|
|
|
PIP_+ VIRTUAL_ENV={envdir} |
|
|
|
|
LANG=en_US.UTF-8 |
|
|
|
|
LANGUAGE=en_US:en |
|
|
|
|
LC_ALL=C |
|
|
|
|
HOME={envdir} |
|
|
|
|
commands = |
|
|
|
|
stestr run --slowest --color {posargs} |
|
|
|
|
deps = |
|
|
|
|
-c {env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} |
|
|
|
|
-r {toxinidir}/requirements.txt |
|
|
|
|