# Class e.c.t.t.DeferredCancellerTest(unittest.TestCase):

Part of elisa.core.tests.test_cancellable_defer View In Hierarchy

No class docstring

Line # | Kind | Name | Docs
--- | --- | --- | ---
30 | Method | setUp | Undocumented
47 | Method | testNoCanceller | CancellableDeferred without a canceller errbacks
62 | Method | testCanceller | test that the canceller gets called
78 | Method | testCancellerWithCallback | If we explicitly callback from the canceller, don't callback CancelledError
91 | Method | testCancelAlreadyCalled | test what happens when calling cancel on a deferred that already fired
102 | Method | testCancelNestedCancellableDeferred | test whether the cancel get propagated to the nested deferred

def setUp(self):
Undocumented
def testNoCanceller(self):
CancellableDeferred without a canceller errbacks

def testCanceller(self):
test that the canceller gets called

def testCancellerWithCallback(self):
If we explicitly callback from the canceller, don't callback CancelledError

def testCancelAlreadyCalled(self):
test what happens when calling cancel on a deferred that already fired

def testCancelNestedCancellableDeferred(self):
test whether the cancel get propagated to the nested deferred