[Twisted-Python] Refactoring of trial - call for feature requests and suggestions

Glyph Lefkowitz glyph at divmod.com
Tue Jun 15 09:41:34 EDT 2004

On Tue, 2004-06-15 at 04:50, Christopher Armstrong wrote:

> What's the point of this, exactly? How would you assert things about the 
> result of the Deferred? I've been using the functions in 
> twisted.trial.util for a while to deal with Deferreds in my tests, and 
> it seems rather nice.

The point of this is that running the reactor to wait for every Deferred
is just as broken and tricky in tests as it is in real code.  The
reactor should actually be running as it would be in a real application,
not starting up and shutting down with every test.

More information about the Twisted-Python mailing list