tox: Set PYTEST_QT_API.

This commit is contained in:
Florian Bruhin 2015-08-07 06:38:12 +02:00
parent 01f71e980d
commit cdd53a4515

View File

@ -17,7 +17,9 @@ usedevelop = true
[testenv:unittests]
# 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
PYTEST_QT_API=pyqt5
passenv = PYTHON DISPLAY XAUTHORITY HOME
deps =
-r{toxinidir}/requirements.txt