Ticket #2634 (closed enhancement: fixed)
IReactorTime is missing method to determine the current time
| Reported by: | exarkun | Owned by: | radix |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
With only a method to schedule a call, code which wants to test time-related functionality has to cobble together an IReactorTimer provider with some other object which can report the current time. Likewise, implementations have no uniform way to allow their scheduling code to be completely overridden, since it is common for scheduling code needs to know the current time (and this code currently uses twisted.python.runtime.seconds if it is correct, or time.time if it is incorrect).
Change History
Note: See
TracTickets for help on using
tickets.
