'Failed callbacks don\'t prevent later callbacks from being called.'

@validate_logging((lambda test, logger: test.assertEqual(len(logger.flush_tracebacks(ZeroDivisionError)), 1)))
def test_register_for_callback_failure(self, logger):

    service = self.service(FilePath(self.mktemp()), logger)
    callbacks = []
    service.register((lambda : (1 / 0)))
    service.register((lambda : callbacks.append(1)))
    d = service.save(LATEST_TEST_DEPLOYMENT)
    def saved(_):
        self.assertEqual(callbacks, [1])
    d.addCallback(saved)
    return d
