'When cancelling the L{defer.gatherResults} call, if all the
L{defer.Deferred}s callback in their canceller, the L{defer.Deferred}
returned by L{defer.gatherResults} will be callbacked with the C{list}
of the results.'

def test_cancelGatherResultsWithAllDeferredsCallback(self):

    deferredOne = defer.Deferred(fakeCallbackCanceller)
    deferredTwo = defer.Deferred(fakeCallbackCanceller)
    result = defer.gatherResults([deferredOne, deferredTwo])
    result.cancel()
    callbackResult = self.successResultOf(result)
    self.assertEqual(callbackResult[0], 'Callback    Result')
    self.assertEqual(callbackResult[1], 'Callback    Result')
