Home
last modified time | relevance | path

Searched refs:tko_job (Results 1 – 5 of 5) sorted by relevance

/external/autotest/tko/
Djob_serializer_unittest.py36 tko_job = models.job('/tmp/', 'autotest', 'test', 'My Computer',
53 self.tko_job = tko_job
54 self.tko_job.tests = [tko_test, tko_test, tko_test]
61 js.set_pb_job(self.tko_job, self.pb_job, self.tag)
76 self.assertEqual(self.tko_job.dir, self.pb_job.dir)
82 self.assertEqual(len(self.tko_job.tests),
89 self.assertEqual(self.tko_job.user, self.pb_job.user)
95 self.assertEqual(self.tko_job.machine, self.pb_job.machine)
101 self.check_time(self.tko_job.queued_time,
108 self.check_time(self.tko_job.started_time,
[all …]
Djob_serializer.py170 def set_pb_job(self, tko_job, pb_job, tag): argument
185 self.set_trivial_attr(tko_job, pb_job, self.job_type_dict)
188 for test in tko_job.tests:
192 for key, val in tko_job.keyval_dict.iteritems():
Dsite_parse_unittest.py151 tko_job = django_tko_models.Machine.objects.create()
154 django_tko_models.Machine.objects.get(pk=tko_job.pk)
/external/autotest/site_utils/
Djob_history.py208 self.tko_job = tko_models.Job.objects.filter(afe_job_id=self.id)[0]
210 hostname=self.tko_job.machine.hostname)[0]
211 self.hostname = self.tko_job.machine.hostname
212 self.start_time = self.tko_job.started_time
213 self.end_time = self.tko_job.finished_time
216 self.tko_job = None
/external/autotest/contrib/
Dcompare_suite.py121 self.tko_job = tko_models.Job.objects.filter(afe_job_id=self.id)[0]
122 self.host_id = self.tko_job.machine_id
123 self.hostname = self.tko_job.machine.hostname
125 self.start_time = self.tko_job.started_time
127 self.end_time = self.tko_job.finished_time
130 self.tko_job = None