From 5ef40829aa3d368c6f2409c43d160b60e0c6e23b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 17 May 2015 18:14:21 +0200 Subject: [PATCH] tox: Pass $USERNAME and $USER for smoke env. This fixes getpass.getuser() on Windows for the smoke tests. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 64d19f0dc..aa7fd87e5 100644 --- a/tox.ini +++ b/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