diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-11-16 13:42:29 +0100 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2019-11-16 13:42:29 +0100 |
commit | b05349db1a224e9782d9873860d19783e7eb4dc3 (patch) | |
tree | 78eec189b7d0829569488c446039a9bc26b598a9 /tests/__init__.py | |
parent | 15ae632842cb7722d0ac4bd2f8c08ab2f3befea5 (diff) | |
download | pygobject-b05349db1a224e9782d9873860d19783e7eb4dc3.tar.gz |
tests: set NO_AT_BRIDGE
Otherwise we get "Couldn't register with accessibility bus" warnings which break the
tests.
Diffstat (limited to 'tests/__init__.py')
-rw-r--r-- | tests/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
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' |