@withActionContext
    def test_addCallbacksErrbackResult(self):
        exception = ZeroDivisionError()
        d = fail(exception)
        d = DeferredContext(d)
        d.addCallbacks(lambda x: x, lambda x: [x.value, 1])
        self.assertEqual(self.successResultOf(d), [exception, 1])
An errback added with DeferredContext.addCallbacks has its result passed
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_twisted.py/DeferredContextTests.test_addCallbacksErrbackResult