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
36 Method _callback Undocumented
40 Method _callback2 Undocumented
43 Method _errback Undocumented
def setUp(self):
Undocumented
def _callback(self, data):
Undocumented
def _callback2(self, data):
Undocumented
def _errback(self, data):
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
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.