[Twisted-Python] reactor.stop() doesn't stop the select reactor?

Sam Roberts sroberts at uniserve.com
Tue Sep 25 17:24:13 EDT 2007


On Tue, Sep 25, 2007 at 02:11:47PM -0700, Sam Roberts wrote:
> > If you are writing unit tests which require the reactor to run, then you
> > can either use trial and twisted.trial.unittest.TestCase or you can write
> 
> Can you point me to any examples of using trial? The api is fairly
> opaque, I'm baffled as to where to start, though the description sounds
> like it was built to help with this problem.

Sorry, I was looking at

  http://twistedmatrix.com/documents/current/api/twisted.trial.html

but I just found

  http://twistedmatrix.com/trac/wiki/TwistedTrial

which has pointers to usage examples.

Sam





More information about the Twisted-Python mailing list