summaryrefslogtreecommitdiff
path: root/searx/testing.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-05-02 20:59:50 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-05-02 20:59:50 +0200
commitf1fc315318a6855dde99cdbe8fc2babddaee22a1 (patch)
treeb66183b3fedb4f3580b1cfe0f24e7ae38fca2d53 /searx/testing.py
parent93fd1e4c76b2eb3d219a8b146ae9e36b103ae5cf (diff)
downloadsearxng-f1fc315318a6855dde99cdbe8fc2babddaee22a1.tar.gz
searxng-f1fc315318a6855dde99cdbe8fc2babddaee22a1.zip
[fix] robot test - kill the only subprocess
Diffstat (limited to 'searx/testing.py')
-rw-r--r--searx/testing.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/searx/testing.py b/searx/testing.py
index 51c44d826..e22ecf8fe 100644
--- 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']