summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-08-07 06:38:12 +0200
committerFlorian Bruhin <git@the-compiler.org>2015-08-07 06:38:12 +0200
commitcdd53a4515b788d8a1d5bed4643c62b8238f8ba2 (patch)
tree3b366a1298b6fef6f1c02e3cc0ac2f44e3a986e0 /tox.ini
parent01f71e980dfc805ea71117fa3bcfb29f8bd552ac (diff)
downloadqutebrowser-cdd53a4515b788d8a1d5bed4643c62b8238f8ba2.tar.gz
qutebrowser-cdd53a4515b788d8a1d5bed4643c62b8238f8ba2.zip
tox: Set PYTEST_QT_API.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 81ff6f724..e88cb8a9e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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