class documentation
class ImmediateFailureMixin: (source)
Known subclasses: twisted.test.test_defer.DeferredTests
, twisted.test.test_defer.OtherPrimitivesTests
, twisted.test.test_defer.TimeoutErrorTests
Add additional assertion methods.
Method | assert |
Assert that the given Deferred current result is a Failure with the given exception. |
Assert that the given Deferred current result is a Failure with the given exception.
Parameters | |
deferred:Deferred[ | Undocumented |
exception:Type[ | Undocumented |
Returns | |
_ExceptionT | The exception instance in the Deferred. |