[INTEGRATION] Update deprecated whitelist_externals in tox 70/134170/3
authorMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
Fri, 14 Apr 2023 12:00:07 +0000 (14:00 +0200)
committerMarek Szwałkiewicz <marek.szwalkiewicz@external.t-mobile.pl>
Mon, 17 Apr 2023 12:39:44 +0000 (14:39 +0200)
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>
infra-healthcheck/tox.ini
tox.ini

index 0bd2e5a..fbbbf13 100644 (file)
@@ -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 (file)
--- 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