From: Marek SzwaƂkiewicz Date: Fri, 14 Apr 2023 12:00:07 +0000 (+0200) Subject: [INTEGRATION] Update deprecated whitelist_externals in tox X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F134170%2F3;p=integration%2Fxtesting.git [INTEGRATION] Update deprecated whitelist_externals in tox Remove deprecated whitelist_externals from tox.ini Issue-ID: INT-2221 Change-Id: Id4328888d05b3d6a4048ca3028dd64ab64a9f92f Signed-off-by: Marek SzwaƂkiewicz --- diff --git a/infra-healthcheck/tox.ini b/infra-healthcheck/tox.ini index 0bd2e5a..fbbbf13 100644 --- a/infra-healthcheck/tox.ini +++ b/infra-healthcheck/tox.ini @@ -15,14 +15,14 @@ commands = flake8 [testenv:pylint] basepython = python3 -whitelist_externals = pylint +allowlist_externals = pylint modules = infra_healthcheck commands = pylint --disable=locally-disabled --reports=n {[testenv:pylint]modules} [testenv:yamllint] -whitelist_externals = yamllint +allowlist_externals = yamllint basepython = python3 files = docker @@ -30,7 +30,7 @@ commands = yamllint {[testenv:yamllint]files} [testenv:py3] -whitelist_externals = nosetests +allowlist_externals = nosetests basepython = python3 commands = nosetests --with-xunit \ --with-coverage \ @@ -41,7 +41,7 @@ commands = nosetests --with-xunit \ infra_healthcheck [testenv:bashate] -whitelist_externals = bashate +allowlist_externals = bashate basepython = python3 files = scripts/check_onap_k8s.sh diff --git a/tox.ini b/tox.ini index 3b95001..22177a9 100644 --- a/tox.ini +++ b/tox.ini @@ -6,9 +6,12 @@ requires = pip >= 8 [testenv] basepython = python3 -whitelist_externals = +allowlist_externals = git bash + /bin/bash + sh + /bin/sh deps = coala-bears nodeenv