tox: Pass $USERNAME and $USER for smoke env.
This fixes getpass.getuser() on Windows for the smoke tests.
This commit is contained in:
parent
b60f673468
commit
5ef40829aa
2
tox.ini
2
tox.ini
@ -115,7 +115,7 @@ commands =
|
||||
[testenv:smoke]
|
||||
# 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
|
||||
passenv = DISPLAY XAUTHORITY HOME
|
||||
passenv = DISPLAY XAUTHORITY HOME USERNAME USER
|
||||
deps =
|
||||
-r{toxinidir}/requirements.txt
|
||||
# We don't use {[testenv:mkvenv]commands} here because that seems to be broken
|
||||
|
Loading…
Reference in New Issue
Block a user