def setUp(self):
     self.timer = _DateTimeTimer()
     self.expiration = datetime.timedelta(seconds=2)
     options = caches.CheckOptions(
         flush_interval=datetime.timedelta(seconds=1),
         expiration=self.expiration)
     self.agg = check_request.Aggregator(
         self.SERVICE_NAME, options, timer=self.timer)
 def setUp(self):
     self.timer = _DateTimeTimer()
     self.agg = check_request.Aggregator(self.SERVICE_NAME,
                                         caches.CheckOptions())
 def setUp(self):
     # -ve num_entries means no cache is present
     self.agg = check_request.Aggregator(
         self.SERVICE_NAME, caches.CheckOptions(num_entries=-1))