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 lettin
You're supposed to clean up whatever junk you left in the reactor after your
test. Do that in the tearDown method.
cheers
lvh
On 23 May 2012, at 23:30, Conway, Nicholas J wrote:
> Hi,
>
> I have a class that needs to kick off a method the repeatedly gets call every
> so many seconds, lets s
Hi,
I have a class that needs to kick off a method the repeatedly gets call every
so many seconds, lets say 2 seconds.
I chose to use task.deferLater to do this, but seems like LoopingCall gives
similar results..
I've boiled it down to the following example
from twisted.internet import re
Hi Guys,
I've been banging my head on this for a few days so I thought I'd ping
folks here. Been trying to modify twisted.mail.smtp.ESMTPClient to
allow the sending of more than one message over a single TCP
connection. I've changed the behavior of smtpState_data() so that it
sets the next state