twisted.trial._synctest._Assertions.assertNoResult(self, deferred)
method documentationtwisted.trial._synctest._Assertions
View Source
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.
Parameters | deferred | A 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 ) |
Raises | SynchronousTestCase.failureException | If the Deferred has a result. |
Function | cb | Undocumented |