Ejemplo n.º 1
0
 def setUp(self):
     self.clock = MockClock()
     self.as_api = Mock()
     self.store = Mock()
     self.service = Mock()
     self.callback = Mock()
     self.recoverer = _Recoverer(
         clock=self.clock,
         as_api=self.as_api,
         store=self.store,
         service=self.service,
         callback=self.callback,
     )
Ejemplo n.º 2
0
 def setUp(self):
     self.clock = MockClock()
     self.as_api = Mock()
     self.store = Mock()
     self.service = Mock()
     self.callback = simple_async_mock()
     self.recoverer = _Recoverer(
         clock=self.clock,
         as_api=self.as_api,
         store=self.store,
         service=self.service,
         callback=self.callback,
     )