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)
def startStoreService(self): svc = IService(self.currentTopStore) svc.getServiceNamed("Batch Processing Controller").disownServiceParent() svc.startService()
def startStoreService(self): svc = IService(self.currentTopStore) svc.getServiceNamed( "Batch Processing Controller").disownServiceParent() svc.startService()