On 05/23/2012 06:04 PM, Laurens Van Houtven wrote:
> You're supposed to clean up whatever junk you left in the reactor after your 
> test. Do that in the tearDown method.
>
An excellent way to do that is to not use the reactor for scheduling 
time in tests; this has the additional benefit of letting you test e.g. 
2 hour timeouts without having to wait 2 hours.

http://twistedmatrix.com/documents/current/core/howto/trial.html#auto9

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to