示例#1
0
    def Run(self):
        run_id = self._GetRunId()

        self.Check("ListCronJobRuns",
                   args=cron_plugin.ApiListCronJobRunsArgs(
                       cron_job_id=self.flow_name),
                   replace={run_id: "F:ABCDEF11"})
示例#2
0
  def Run(self):
    cron_job_id = _SetupAndRunVersionBreakDownCronjob(token=self.token)
    run_id = _GetRunId(cron_job_id, token=self.token)

    self.Check(
        "ListCronJobRuns",
        args=cron_plugin.ApiListCronJobRunsArgs(cron_job_id=cron_job_id),
        replace={
            run_id: "F:ABCDEF11",
            cron_job_id: "GRRVersionBreakDown"
        })