commit: f1fc315318a6855dde99cdbe8fc2babddaee22a1
parent: 93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf
Author: Adam Tauber <asciimoo@gmail.com>
Date: Sat, 2 May 2015 20:59:50 +0200
[fix] robot test - kill the only subprocess
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/searx/testing.py b/searx/testing.py
@@ -56,9 +56,7 @@ class SearxRobotLayer(Layer):
)
def tearDown(self):
- # send TERM signal to all processes in my group, to stop subprocesses
- os.killpg(os.getpgid(self.server.pid), 15)
-
+ os.kill(self.server.pid, 15)
# remove previously set environment variable
del os.environ['SEARX_SETTINGS_PATH']