[gnome-control-center/wip/benzea/ci: 16/28] tests/shared: Unset WAYLAND display environment variable correctly
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/benzea/ci: 16/28] tests/shared: Unset WAYLAND display environment variable correctly
- Date: Mon, 28 May 2018 22:14:58 +0000 (UTC)
commit fac362a5d7759007fe11375491de062e0dd6fe4c
Author: Benjamin Berg <bberg redhat com>
Date: Mon May 21 13:29:02 2018 +0200
tests/shared: Unset WAYLAND display environment variable correctly
Otherwise the test might run on a develpers wayland session rather than
using the created X11 server.
tests/shared/x11session.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/shared/x11session.py b/tests/shared/x11session.py
index 87e964943..b9d1b6e5d 100644
--- a/tests/shared/x11session.py
+++ b/tests/shared/x11session.py
@@ -79,7 +79,7 @@ class X11SessionTestCase(DBusTestCase):
klass.X_display = display
# Export information into our environment for tests to use
os.environ['DISPLAY'] = ":%d" % klass.X_display
- os.environ['WAYLAND'] = ''
+ os.environ['WAYLAND_DISPLAY'] = ''
# Server should still be up and running at this point
assert klass.xorg.poll() is None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]