Author pitrou
Recipients giampaolo.rodola, josiah.carlson, josiahcarlson, pitrou
Date 2010-05-12.23:58:49
SpamBayes Score 0.0586156
Marked as misclassified No
Message-id <1273708878.3267.22.camel@localhost.localdomain>
In-reply-to <>
> I agree. Are you recommending to take advantage of this and change the
> tests in some way?

Yes, it would allow you to check that if you have e.g. :
- A scheduled in 1 s
- B scheduled in 3 s first sleeps for 1 s, then calls A, then sleeps for 2 s, then
calls B

Twisted has a full-blown utility class that they use in many tests,
allowing them to mock time.time():
You probably don't need something as sophisticated, the idea of a class
with advance() and time() methods is probably enough.
Date User Action Args
2010-05-12 23:58:51pitrousetrecipients: + pitrou, josiahcarlson, giampaolo.rodola, josiah.carlson
2010-05-12 23:58:50pitroulinkissue8687 messages
2010-05-12 23:58:50pitroucreate