[pygobject] tests: set NO_AT_BRIDGE
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] tests: set NO_AT_BRIDGE
- Date: Sat, 16 Nov 2019 12:50:01 +0000 (UTC)
commit b05349db1a224e9782d9873860d19783e7eb4dc3
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sat Nov 16 13:42:29 2019 +0100
tests: set NO_AT_BRIDGE
Otherwise we get "Couldn't register with accessibility bus" warnings which break the
tests.
tests/__init__.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/tests/__init__.py b/tests/__init__.py
index 3723b073..c5f02c31 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -89,6 +89,9 @@ def init_test_environ():
os.environ['GSETTINGS_SCHEMA_DIR'] = tests_builddir
os.environ['G_FILENAME_ENCODING'] = 'UTF-8'
+ # Avoid accessibility dbus warnings
+ os.environ['NO_AT_BRIDGE'] = '1'
+
# Force the default theme so broken themes don't affect the tests
os.environ['GTK_THEME'] = 'Adwaita'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]