diff options
author | Lucas Alvares Gomes <lucasagomes@gmail.com> | 2017-01-18 21:48:11 +0000 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2017-01-19 12:06:16 -0800 |
commit | e8a94acffa776bf4fc5468b94c85d6adcbee7ab4 (patch) | |
tree | 107821fc37eb4aecb0cb173c1fcf1006efdac686 | |
parent | fbfe66967dd6a19fb5a94ae941f0505147bc48c0 (diff) | |
download | ansible-e8a94acffa776bf4fc5468b94c85d6adcbee7ab4.tar.gz |
Pass the HOME environment variable to testenv in tox.ini
In order to avoid the "missing HOME variable" issue when running the
unit tests, this patch is passing the HOME environment variable to
[testenv].
Fixes #20424
-rw-r--r-- | tox.ini | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -16,6 +16,10 @@ commands = py27: python -m compileall -fq -x 'test/samples' lib test contrib py3{5,6}: python -m compileall -fq -x 'test/samples|lib/ansible/modules' lib test contrib make tests +passenv = + # Pass HOME to the test environment to avoid the missing HOME env + # variable error. See issue: #20424 + HOME [flake8] |