Skip to content

Commit

Permalink
Fix passenv declaration in tox.ini
Browse files Browse the repository at this point in the history
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 passend declaration. This patch is proposing a fix for that.
  • Loading branch information
rafaelweingartner committed Jan 6, 2023
1 parent 63773fd commit 7d6f631
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d6f631

Please sign in to comment.