tox: Pass HOME environment variable

Since version 2.0 it only passes a limited set of variables and we need HOME for the tests
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-05-18 17:58:53 +02:00
parent 484c9d2d5b
commit 2aa64b89b3
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ envlist = py26,py27,py33,py34
deps = deps =
nose nose
coverage coverage
# We need a valid $HOME for test_compat_expanduser
passenv = HOME
defaultargs = test --exclude test_download.py --exclude test_age_restriction.py defaultargs = test --exclude test_download.py --exclude test_age_restriction.py
--exclude test_subtitles.py --exclude test_write_annotations.py --exclude test_subtitles.py --exclude test_write_annotations.py
--exclude test_youtube_lists.py --exclude test_youtube_lists.py