summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAsh <ext0l@riseup.net>2020-07-08 18:06:50 -0700
committerAsh <ext0l@riseup.net>2020-07-08 19:02:05 -0700
commit2f6a48c74bdead0695013e3fe7c0ac2552bab9aa (patch)
tree40b80b07838a88baf861e437cefaa92eedbf358f /tox.ini
parent2ba6cce9eb798e5f8d8bd829528ffffe3f2ff8de (diff)
downloadqutebrowser-2f6a48c74bdead0695013e3fe7c0ac2552bab9aa.tar.gz
qutebrowser-2f6a48c74bdead0695013e3fe7c0ac2552bab9aa.zip
Run tests inside dbus-run-session.
We need a dbus server, and this is the easiest way to make sure we have one.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7a5c37d10..a7462bf83 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,7 @@ setenv =
pyqt{,57,59,510,511,512,513,514,515}: LINK_PYQT_SKIP=true
pyqt{,57,59,510,511,512,513,514,515}: QUTE_BDD_WEBENGINE=true
cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report=
-passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI XDG_* QUTE_* DOCKER QT_QUICK_BACKEND PY_COLORS
+passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI XDG_* QUTE_* DOCKER QT_QUICK_BACKEND PY_COLORS DBUS_SESSION_BUS_ADDRESS
basepython =
py3: {env:PYTHON:python3}
py35: {env:PYTHON:python3.5}