diff options
author | Andrew Shadura <andrewsh@debian.org> | 2018-04-30 16:16:32 +0200 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2018-04-30 16:41:37 +0200 |
commit | d68c2383b923b5f3809690c8eeb402e706a32372 (patch) | |
tree | 4085425be113f9cff4ce9ba761449bc89027a945 | |
parent | b1b6fa9c8fd579eeba71ea96b554a3db2bd76c6b (diff) |
Unset D-Bus envvars to prevent tests from connecting to the bus
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index f0b52a9..3fd81fd 100755 --- a/debian/rules +++ b/debian/rules @@ -9,3 +9,6 @@ export PYBUILD_DISABLE_python3=1 %: dh $@ --with python2 --buildsystem=pybuild -Npython3-${PYBUILD_NAME} + +override_dh_auto_test: + env -u XDG_RUNTIME_DIR -u DBUS_SESSION_BUS_ADDRESS dh_auto_test -Npython3-${PYBUILD_NAME} |