← Back to team overview

launchpad-dev team mailing list archive

Re: Please be very lenient in your test timeouts--or don't write them!

 

On Tue, Jun 5, 2012 at 8:43 PM, Barry Warsaw <barry@xxxxxxxxxxxxx> wrote:
> On Jun 05, 2012, at 11:26 AM, Julian Edwards wrote:
>
>>FWIW, Twisted has a fake clock that you can wind forwards/backwards at will
>>which is really handy for this sort of thing.
>
> I have a likely much more horrible version of something similar in Mailman 3.
>
> http://tinyurl.com/76s46gb
>

Twisted's is very much bound to the reactor, and is not really a
generic system clock replacement. ISTR Chris Withers wrote such a
thing that's on PyPI together with a bunch of test helpers.

jml


Follow ups

References