Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/831124
)
Change subject: [tests] Display 1 is running on github action
......................................................................
[tests] Display 1 is running on github action
Change-Id: I35dbe0f2f236938db41b245de59f5157a0a14e76
---
M tests/tk_tests.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Verified; Looks good to me, approved
diff --git a/tests/tk_tests.py b/tests/tk_tests.py
index 430f4e3..47a1071 100755
--- a/tests/tk_tests.py
+++ b/tests/tk_tests.py
@@ -24,7 +24,7 @@
"""Set virtual display environment."""
super().setUpClass()
cls.env = os.environ.get('DISPLAY')
- os.environ['DISPLAY'] = ':0.0'
+ os.environ['DISPLAY'] = ':1.0'
@classmethod
def tearDownClass(cls):
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/831124
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I35dbe0f2f236938db41b245de59f5157a0a14e76
Gerrit-Change-Number: 831124
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-MessageType: merged