From a6a46d0014b3f4156bf8543fc806d4b1b2a53eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Fri, 24 Feb 2017 16:33:50 +0100 Subject: [PATCH] fix mediaserver connectivity test --- tests/test_mediaworker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_mediaworker.py b/tests/test_mediaworker.py index 5eb7b751..700b9c53 100755 --- a/tests/test_mediaworker.py +++ b/tests/test_mediaworker.py @@ -52,7 +52,7 @@ def check_celerity_connectivity(ip): cmd = "ssh %s curl -k https://%s:6200" % (ip, h) print('Checking celerity connectivity: %s' % cmd) try: - d = subprocess.check_output(cmd, shell=True, timeout=5) + d = subprocess.check_output(cmd, shell=True, timeout=5, universal_newlines=True) except subprocess.CalledProcessError: d = '' if "Celerity tasks server" in d: -- GitLab