In article <cae_hg6ybk6nbrxnmae0nxyac4u2ws6rknvatbcegdiqghfj...@mail.gmail.com>, Laurens Van Houtven <_...@lvh.io> wrote:
> Hi Russell, > > > The way to do this is to pass the reactor as a parameter, and use a Clock > instead of the regular parameter for unit testing purposes. See also: > https://twistedmatrix.com/documents/current/core/howto/trial.html ; that > has a complete example of how to write unit tests that use Clock. > > That way your unit tests will be fast, deterministic, and also very clean > :-) Thank you. That looks very promising! -- Russell _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python