[Twisted-Python] Re: Reactor is left dirty after calling twisted.mail.smtp.sendmail via trial

Christopher Armstrong radix at twistedmatrix.com
Tue Feb 26 10:03:55 EST 2008


On Tue, Feb 26, 2008 at 6:26 AM, Marcin Kasperski
<Marcin.Kasperski at softax.com.pl> wrote:
>  At first sight it seems OK to me. Are you sure you run your tests with
>  trial?  Syncing with returned deferreds is trial-specific, other test
>  runners won't do it...

That's not true. It's not the runner that provides this behavior, it's
the TestCase class. You can run your Trial TestCases with other
runners and deferreds will be handled.

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/




More information about the Twisted-Python mailing list