'L{process.Process.signalProcess} calls C{os.kill} translating the given
signal string to the PID.'

def test_kill(self):

    self.mockos.child = False
    self.mockos.waitChild = (0, 0)
    cmd = '/mock/ouch'
    p = TrivialProcessProtocol(None)
    proc = reactor.spawnProcess(p, cmd, ['ouch'], env=None, usePTY=False)
    proc.signalProcess('KILL')
    self.assertEqual(self.mockos.actions, [('fork', False), 'waitpid', ('kill', 21, signal.SIGKILL)])
