[Twisted-Python] probably stupid question about automated testing and reactor.run

Chris Withers chris at withers.org
Wed Nov 7 09:14:14 MST 2018


Hi All,

Sorry, the silly questions about testing keep coming...

Is it legit for a unit testable piece of an application's code to call 
reactor.run()?

How do you feed a reactor.stop() into such a test? Would that be a sane 
thing to try and do?

How do people deal with this kind of testing?

cheers,

Chris



More information about the Twisted-Python mailing list