'When processEnded is called, if there is an exit signal in the
reason it should be sent in an exit-signal message.  If no
core was dumped, don\'t set the core-dump bit.'

def test_processEndedWithExitSignalNoCoreDump(self):

    self.pp.processEnded(Failure(ProcessTerminated(1, signal.SIGTERM, 0)))
    self.assertRequestsEqual([('exit-signal', (((common.NS('TERM') + '\x00') + common.NS('')) + common.NS('')), False)])
    self.assertSessionClosed()
