Lines Matching refs:models
13 from autotest_lib.frontend.afe import models
46 status = models.HostQueueEntry.Status.ARCHIVING
190 user = models.User.objects.get(login='autotest_system')
191 except models.User.DoesNotExist:
192 user = models.User.objects.get(
194 models.SpecialTask.objects.create(
195 task=models.SpecialTask.Task.RESET,
196 host=models.Host.objects.get(id=host.id),
203 where='status = "%s"' % models.HostQueueEntry.Status.RESETTING)
205 special_tasks = models.SpecialTask.objects.filter(
206 task__in=(models.SpecialTask.Task.CLEANUP,
207 models.SpecialTask.Task.VERIFY,
208 models.SpecialTask.Task.RESET),