tox: Set QT_QPA_PLATFORM_PLUGIN_PATH for tests.

This is needed on Windows so the qwindows plugin is found.
It makes more sense to set this here instead of setting it in the buildbot
settings.
This commit is contained in:
Florian Bruhin 2015-03-26 11:53:38 +01:00
parent b409517777
commit 738f6a4510

View File

@ -15,6 +15,7 @@ envdir = {toxinidir}/.venv
usedevelop = true
[testenv:unittests]
setenv = QT_QPA_PLATFORM_PLUGIN_PATH={envsitepackagesdir}/PyQt5/plugins/platforms
commands =
{[testenv:mkvenv]commands}
{envpython} -m unittest