Commit a2e1aa3a authored by Jeremy Hylton's avatar Jeremy Hylton

If there is no pid, there is nothing to kill.

parent 6100b69d
......@@ -57,6 +57,8 @@ class StartTests(unittest.TestCase):
def stop_server(self):
ppid, pid = self.getpids()
if ppid is None:
return
self.kill(pids=[pid])
def kill(self, sig=signal.SIGTERM, pids=None):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment