Esempio n. 1
0
 def test_schedulerStartsWhenServiceStarts(self):
     """
     Test that IScheduler(store).startService() gets called whenever
     IService(store).startService() is called.
     """
     service = IService(self.store)
     service.startService()
     scheduler = service.getServiceNamed(SITE_SCHEDULER)
     self.assertTrue(scheduler.running)
Esempio n. 2
0
 def startStoreService(self):
     svc = IService(self.currentTopStore)
     svc.getServiceNamed("Batch Processing Controller").disownServiceParent()
     svc.startService()
Esempio n. 3
0
 def startStoreService(self):
     svc = IService(self.currentTopStore)
     svc.getServiceNamed(
         "Batch Processing Controller").disownServiceParent()
     svc.startService()