Home
last modified time | relevance | path

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

/external/autotest/tko/
Djob_serializer_unittest.py34 tko_job = models.job('/tmp/', 'autotest', 'test', 'My Computer',
37 tko_job.afe_parent_job_id = 111
38 tko_job.build_version = 'R1-1.0.0'
39 tko_job.suite = 'bvt'
40 tko_job.board = 'alex'
41 tko_job.index = 2
56 self.tko_job = tko_job
57 self.tko_job.tests = [tko_test, tko_test, tko_test]
64 js.set_pb_job(self.tko_job, self.pb_job, self.tag)
81 self.assertEqual(self.tko_job.dir, self.pb_job.dir)
[all …]
Djob_serializer.py173 def set_pb_job(self, tko_job, pb_job, tag): argument
188 self.set_trivial_attr(tko_job, pb_job, self.job_type_dict)
190 if hasattr(tko_job, 'index'):
191 pb_job.job_idx = tko_job.index
193 for test in tko_job.tests:
197 for key, val in tko_job.keyval_dict.iteritems():
Dsite_parse_unittest.py150 tko_job = django_tko_models.Machine.objects.create()
153 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