tox: Pass $USERNAME and $USER for smoke env.

This fixes getpass.getuser() on Windows for the smoke tests.
This commit is contained in:
Florian Bruhin 2015-05-17 18:14:21 +02:00
parent b60f673468
commit 5ef40829aa

View File

@ -115,7 +115,7 @@ commands =
[testenv:smoke] [testenv:smoke]
# https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though # https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though
setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/Lib/site-packages/PyQt5/plugins/platforms setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/Lib/site-packages/PyQt5/plugins/platforms
passenv = DISPLAY XAUTHORITY HOME passenv = DISPLAY XAUTHORITY HOME USERNAME USER
deps = deps =
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
# We don't use {[testenv:mkvenv]commands} here because that seems to be broken # We don't use {[testenv:mkvenv]commands} here because that seems to be broken