[Twisted-Python] Stopping Reactor in UnitTest Callback
fabian.rothfuchs at googlemail.com
Thu Jan 10 14:58:04 EST 2013
I'm trying to start and stop a twisted server in a unittest:
Calling reactor.stop() in the callback causes a KeyboardInterrupt
exception, and tearDown gets never executed, as it's probably waiting for
the test to finish.
After calling `trial d.py` you need to run a `telnet localhost 8007`
manually to stimulate the connectionMade() method.
I'm totally stuck and would appreciate any help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python