Lines Matching refs:models
14 from autotest_lib.frontend.afe import models
34 assigned = models.Job.assign_to_shard(shard, [])
45 assigned = models.Job.assign_to_shard(shard, [])
54 assigned_jobs = models.Job.assign_to_shard(shard, [known_job.id])
65 assigned = models.Job.assign_to_shard(shard, [])
75 assigned = models.Job.assign_to_shard(shard, [])
81 old = models.Job.SKIP_JOBS_CREATED_BEFORE
83 models.Job.SKIP_JOBS_CREATED_BEFORE = value
86 models.Job.SKIP_JOBS_CREATED_BEFORE = old
96 job = models.Job.objects.create(
100 hqe = models.HostQueueEntry.objects.create(
103 status=models.HostQueueEntry.Status.QUEUED,
115 job = models.Job.objects.create(
120 hqe = models.HostQueueEntry.objects.create(
123 status=models.HostQueueEntry.Status.QUEUED,
130 host = models.Host.objects.create(hostname=self._tag_creator.next())
137 return models.Label.objects.create(name=self._tag_creator.next())
142 shard = models.Shard.objects.create(hostname=self._tag_creator.next())