From 984ae76d9329dc28a450f81f91801498ffdddbf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Weing=C3=A4rtner?= Date: Fri, 6 Jan 2023 09:26:25 -0300 Subject: [PATCH] Fix `passenv` declaration in tox.ini While running the tests locally with the latest tox I was getting the following error message: ``` pep8: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'LANG GNOCCHI_TEST_* AWS_*' pep8: FAIL code 1 (0.00 seconds) evaluation failed :( (0.09 seconds) ``` That error is happening because of the passenv declaration. This patch is proposing a fix for that. (cherry picked from commit 83db4d68c979658d7ac4676bcc0ff9515441b4de) --- tox.ini | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c2c1839f6..ed4716c76 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,10 @@ skipsdist = True [testenv] skip_install = True sitepackages = True -passenv = LANG GNOCCHI_TEST_* AWS_* +passenv = + LANG + GNOCCHI_TEST_* + AWS_* setenv = GNOCCHI_TEST_STORAGE_DRIVER=file GNOCCHI_TEST_INDEXER_DRIVER=postgresql