tox: Set QT_QPA_PLATFORM_PLUGIN_PATH for smoke.

This fixes smoke tests on Windows (I think).
This commit is contained in:
Florian Bruhin 2015-05-17 01:19:23 +02:00
parent b5dc4ea040
commit f17238d3d4

View File

@ -113,6 +113,8 @@ commands =
{envpython} scripts/asciidoc2html.py {posargs}
[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
deps =
-r{toxinidir}/requirements.txt