[Twisted-Python] Having different tests run with Trial using different reactor implementations ?
alessio.pace at gmail.com
Thu Jan 29 07:42:25 EST 2009
I would like to know if (but I heard it is..) and how it is possible to run
with Trial a test suite where some tests use a reactor implementation and
some instead another one..
In fact I have some tests extending Trial's TestCase (hence expecting to use
the selector reactor) while some others use the "plain" TestCase and in the
setUp() / tearDown() do install/uninstall of the custom reactor I wrote.
Running both tests causes using the wrong reactor when another one is
expected, so I was thinking about migrating my custom reactor based tests to
Any suggestions? Thanks again in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python