diff --git a/nfv/tox.ini b/nfv/tox.ini index 8a84bca5..b8b1809b 100644 --- a/nfv/tox.ini +++ b/nfv/tox.ini @@ -18,7 +18,7 @@ stxdir = {toxinidir}/../.. install_command = pip install \ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \ {opts} {packages} -whitelist_externals = cp +allowlist_externals = cp deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt diff --git a/nova-api-proxy/tox.ini b/nova-api-proxy/tox.ini index f06f1bc2..ace4d3b7 100644 --- a/nova-api-proxy/tox.ini +++ b/nova-api-proxy/tox.ini @@ -15,7 +15,7 @@ setenv = VIRTUAL_ENV={envdir} OS_TEST_TIMEOUT=60 PYTHONDONTWRITEBYTECODE=True commands = find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete -whitelist_externals = find +allowlist_externals = find deps=-r{toxinidir}/test-requirements.txt diff --git a/tox.ini b/tox.ini index e5e39b5e..88e4fda3 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages} commands = find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -not -path '*/__pycache__/*' -name '*.py[c|o]' -delete deps = -r{toxinidir}/test-requirements.txt -whitelist_externals = find +allowlist_externals = find [testenv:venv] basepython = python3 @@ -32,7 +32,7 @@ description = Dummy environment to allow pylint to be run in subdir tox [testenv:linters] basepython = python3 -whitelist_externals = bash +allowlist_externals = bash commands = bash -c "find {toxinidir} \ \( -name middleware/io-monitor/recipes-common/io-monitor/io-monitor/io_monitor/test-tools/yaml/* -prune \) \ @@ -46,7 +46,7 @@ deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf doc/build sphinx-build -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html -whitelist_externals = rm +allowlist_externals = rm [testenv:releasenotes] basepython = python3 @@ -54,7 +54,7 @@ deps = -r{toxinidir}/doc/requirements.txt commands = rm -rf releasenotes/build sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html -whitelist_externals = +allowlist_externals = rm reno @@ -72,9 +72,9 @@ deps = commands = rm -rf api-ref/build sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html -whitelist_externals = rm +allowlist_externals = rm [testenv:functional] basepython = python3 -whitelist_externals = cat +allowlist_externals = cat commands = cat /etc/fm/fm.conf