grr/server/grr_response_server/flows/cron/system_test.py
def testGRRVersionBreakDown(self):
    """Check that all client stats cron jobs are run."""
    cron_run = rdf_cronjobs.CronJobRun()
    job_data = rdf_cronjobs.CronJob()
    cron = system.GRRVersionBreakDownCronJob(cron_run, job_data)
    cron.Run()

    self._CheckGRRVersionBreakDown()
    self.assertEqual(cron.run_state.log_message, "Processed 22 clients.")
Check that all client stats cron jobs are run.
Check that all client stats cron jobs are run.
Check that all client stats cron jobs are run .
def testGRRVersionBreakDown(self):
    cron_run = rdf_cronjobs.CronJobRun()
    job_data = rdf_cronjobs.CronJob()
    cron = system.GRRVersionBreakDownCronJob(cron_run, job_data)
    cron.Run()
    self._CheckGRRVersionBreakDown()
    self.assertEqual(cron.run_state.log_message, "Processed 22 clients.")
def testGRRVersionBreakDown ( self ) : cron_run = rdf_cronjobs . CronJobRun ( ) job_data = rdf_cronjobs . CronJob ( ) cron = system . GRRVersionBreakDownCronJob ( cron_run , job_data ) cron . Run ( ) self . _CheckGRRVersionBreakDown ( ) self . assertEqual ( cron . run_state . log_message , "Processed 22 clients." )
Check that all client stats cron jobs are run.
Check that all client stats cron jobs are run .
"""Check that all client stats cron jobs are run."""
self