diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gsdtestcase.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gsdtestcase.py b/tests/gsdtestcase.py index 22a457a3..3d198cb0 100644 --- a/tests/gsdtestcase.py +++ b/tests/gsdtestcase.py @@ -61,6 +61,9 @@ class GSDTestCase(X11SessionTestCase): os.environ['LC_MESSAGES'] = 'C' klass.workdir = tempfile.mkdtemp(prefix='gsd-plugin-test') + # Prevent applications from accessing an outside session manager + os.environ['SESSION_MANAGER'] = '' + # Signal to mutter and gnome-session that we are using X11 os.environ['XDG_SESSION_TYPE'] = 'x11' |