diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-02-10 11:16:49 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-02-10 11:16:49 +0100 |
commit | 9a9bb732752e7bec42a1c13f080b37536876e3e0 (patch) | |
tree | f3afbc8e2687426dc497c7d54fdc3b5de4e3a46d /tests | |
parent | 64b02e3017b50a17a087ee821522a1cb8e066f27 (diff) | |
download | pygobject-9a9bb732752e7bec42a1c13f080b37536876e3e0.tar.gz |
tests: set DBUS_SESSION_BUS_ADDRESS to some invalid value to disable dbus
While keepig it empty works on Linux, on Windows setting an invalid
value is needed to disable dbus.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/runtests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.py b/tests/runtests.py index 7cc7d508..b8f64b99 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -44,7 +44,7 @@ if pid >= 0: os.environ["DBUS_SESSION_BUS_ADDRESS"] = addr atexit.register(os.kill, pid, signal.SIGKILL) else: - os.environ["DBUS_SESSION_BUS_ADDRESS"] = "" + os.environ["DBUS_SESSION_BUS_ADDRESS"] = "." mydir = os.path.dirname(os.path.abspath(__file__)) tests_builddir = os.path.abspath(os.environ.get('TESTS_BUILDDIR', os.path.dirname(__file__))) |