aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>2023-04-14 14:00:07 +0200
committerMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>2023-04-17 14:39:44 +0200
commit0d50a8b6987fce7b4f5dedfb33be920ddf847adb (patch)
tree68753f019ccf0e5477599e83a0977066bd0d0b17
parent6f49848be79a2d51a84547e246ff8463fdfb7332 (diff)
[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 <marek.szwalkiewicz@external.t-mobile.pl>
-rw-r--r--infra-healthcheck/tox.ini8
-rw-r--r--tox.ini5
2 files changed, 8 insertions, 5 deletions
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