def makeScheduler(self): """ Create, install, and return a Scheduler with a fake callLater. """ scheduler = IScheduler(self.store) scheduler.callLater = self.clock.callLater scheduler.now = self.now return scheduler