Assert that deferred does not have a result at this point.

If the assertion succeeds, then the result of deferred is left unchanged. Otherwise, any failure.Failure result is swallowed.

ParametersdeferredA Deferred without a result. This means that neither Deferred.callback nor Deferred.errback has been called, or that the Deferred is waiting on another Deferred for a result. (type: Deferred)
RaisesSynchronousTestCase.failureExceptionIf the Deferred has a result.
Function cb Undocumented
def cb(res): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.