From 511799120b60f4544e11435d7cc8d17e71e542d7 Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Mon, 12 Feb 2018 13:55:00 +0100
Subject: [PATCH] Adapt test launcher for our envirnoment
---
run-tests.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/run-tests.py b/run-tests.py
index 4bedd15..a79799f 100755
--- a/run-tests.py
+++ b/run-tests.py
@@ -42,7 +42,7 @@ if not hasattr(Popen, '__enter__'):
Popen.__enter__ = backported_enter
Popen.__exit__ = backported_exit
-PYTEST = 'pytest'
+PYTEST = 'pytest-3'
XVFB = 'Xvfb'
I3_BINARY = 'i3'
LOCKDIR = '/tmp'
@@ -100,7 +100,7 @@ def run_pytest(display):
def main():
check_dependencies()
- display = get_open_display()
+ display = get_open_display() + 1
with start_server(display) as server:
run_pytest(display)
--
2.17.1