[Twisted-Python] Running Twisted tests with testtools

Jonathan Lange jml at mumak.net
Thu Feb 9 05:09:44 MST 2012


On Thu, Feb 9, 2012 at 12:30 AM,  <exarkun at twistedmatrix.com> wrote:
> On 8 Feb, 10:15 pm, jml at mumak.net wrote:
>>
>>> From the documentation:
>>
>>* Trial spins the reactor a couple of times before cleaning it up,
>>  ``AsynchronousDeferredRunTest`` does not.  If you rely on this
>>behavior, use
>>  ``AsynchronousDeferredRunTestForBrokenTwisted``.
>
> I've expected for some time now that we would deprecate this behavior in
> twisted.trial.unittest.TestCase.  Just a matter of someone getting to
> it.
>

Yeah. I think the last time I tried there were just too many broken
test cases in Twisted itself, which made the exercise quite daunting.

jml




More information about the Twisted-Python mailing list