On Fri, May 30, 2014 at 2:13 AM, Piper Masden wrote:
> I have a test that executes this function, and the deferToThread returns a
> Deferred, but that deferred never fires its callback, and so when I use
> successResultOf expecting a success result, no result is found.
"Never", or just not before
Hi Piper,
`successResultOf` is intended to be called on a Deferred which has a result
(meaning `Deferred.errback` or `Deferred.callback` has been called on it
already.) [1] In this case presumably your blocking call hasn’t finished (or
even started?) by the time the assertion is executed, hen