[Twisted-Python] deferToThread in unittest (trial)?
Gabriel Rossetti
mailing_lists at evotex.ch
Wed Jul 9 12:07:50 EDT 2008
Hello,
I have a quick question, are there any known
side-effects/problems/limitations with using deferToThread in unit-tests
(trial)? I'm actually testing a class that uses a class that has a call
to deferToThread, the problem is that the callbacks are never called,
even if the function passed to deferToThread does nothing (so it should
return).
Thanks,
Gabriel
More information about the Twisted-Python
mailing list