From 49fc55369d4755148d3db58c593d0b6f4d60582d Mon Sep 17 00:00:00 2001 From: Insoleet <insomniak.fr@gmail.com> Date: Fri, 4 Sep 2015 11:51:12 +0200 Subject: [PATCH] Fix test run on linux / travis --- run_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_tests.py b/run_tests.py index 28e124fd..e7d2d9b9 100644 --- a/run_tests.py +++ b/run_tests.py @@ -3,10 +3,11 @@ import os import unittest import subprocess import time +import shlex cmd = 'python -m pretenders.server.server --host 127.0.0.1 --port 50000' -p = subprocess.Popen(cmd) +p = subprocess.Popen(shlex.split(cmd)) time.sleep(2) sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))) -- GitLab