'Cancelling a L{defer.DeferredList} will cancel the original
L{defer.Deferred}s passed in.'

def test_cancelDeferredListWithOriginalDeferreds(self):

    deferredOne = defer.Deferred()
    deferredTwo = defer.Deferred()
    argumentList = [deferredOne, deferredTwo]
    deferredList = defer.DeferredList(argumentList)
    deferredThree = defer.Deferred()
    argumentList.append(deferredThree)
    deferredList.cancel()
    self.failureResultOf(deferredOne, defer.CancelledError)
    self.failureResultOf(deferredTwo, defer.CancelledError)
    self.assertNoResult(deferredThree)
