aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-05-18 17:58:53 +0200
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-05-18 17:58:53 +0200
commit2aa64b89b3ac8f387d4c0c27ce7de64bc0ff68de (patch)
tree12ab610f0ac4fdcdf681e4bb9be899ea438cba33 /tox.ini
parent484c9d2d5b669220c24c865947c3f65049916b56 (diff)
tox: Pass HOME environment variable
Since version 2.0 it only passes a limited set of variables and we need HOME for the tests
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 00c6e00e3..cd805fe8a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,8 @@ envlist = py26,py27,py33,py34
deps =
nose
coverage
+# We need a valid $HOME for test_compat_expanduser
+passenv = HOME
defaultargs = test --exclude test_download.py --exclude test_age_restriction.py
--exclude test_subtitles.py --exclude test_write_annotations.py
--exclude test_youtube_lists.py