Ejemplo n.º 1
0
 def setUp(self):
     super(Ereporter2Test, self).setUp()
     self.testbed.init_user_stub()
     self.mock(acl, 'get_ereporter2_recipients', lambda: ['foo@localhost'])
     self.mock(ui, '_get_end_time_for_email', lambda: 1383000000)
     self._now = datetime.datetime(2014, 6, 24, 20, 19, 42, 653775)
     self.mock_now(self._now, 0)
     ui.configure()
Ejemplo n.º 2
0
 def setUp(self):
   super(Ereporter2Test, self).setUp()
   self.testbed.init_user_stub()
   self.mock(acl, 'get_ereporter2_recipients', lambda: ['foo@localhost'])
   self.mock(ui, '_get_end_time_for_email', lambda: 1383000000)
   self._now = datetime.datetime(2014, 6, 24, 20, 19, 42, 653775)
   self.mock_now(self._now, 0)
   ui.configure()
Ejemplo n.º 3
0
 def setUp(self):
   super(Base, self).setUp()
   self.testbed.init_user_stub()
   self._now = datetime.datetime(2014, 6, 24, 20, 19, 42, 653775)
   self.mock_now(self._now, 0)
   ui.configure()
Ejemplo n.º 4
0
 def setUp(self):
   super(Base, self).setUp()
   self.testbed.init_user_stub()
   self._now = datetime.datetime(2014, 6, 24, 20, 19, 42, 653775)
   self.mock_now(self._now, 0)
   ui.configure()