'When a L{defer.DeferredList} has fired because one L{defer.Deferred} in
the list fired with a non-failure result, the cancellation will do
nothing instead of cancelling the rest of the L{defer.Deferred}s.'

def test_cancelFiredOnOneCallbackDeferredList(self):

    deferredOne = defer.Deferred()
    deferredTwo = defer.Deferred()
    deferredList = defer.DeferredList([deferredOne, deferredTwo], fireOnOneCallback=True)
    deferredOne.callback(None)
    deferredList.cancel()
    self.assertNoResult(deferredTwo)
