'A script that is killed by signal exits, logging the signal.'

def test_sigint(self):

    d = self.run_script(SigintScript)
    d.addCallback((lambda messages: assertContainsFields(self, messages[1], {u'message_type': u'twisted:log', u'message': u'Received    SIGINT,    shutting    down.', u'error': False})))
    return d
