Lines Matching refs:models
12 from autotest_lib.frontend.afe import models
45 status = models.HostQueueEntry.Status.ARCHIVING
101 models.SpecialTask.objects.create passes in an argument for
116 user = models.User.objects.get(login='autotest_system')
117 except models.User.DoesNotExist:
118 user = models.User.objects.get(
120 models.SpecialTask.objects.create(
121 task=models.SpecialTask.Task.RESET,
122 host=models.Host.objects.get(id=host.id),
129 where='status = "%s"' % models.HostQueueEntry.Status.RESETTING)
131 special_tasks = models.SpecialTask.objects.filter(
132 task__in=(models.SpecialTask.Task.CLEANUP,
133 models.SpecialTask.Task.VERIFY,
134 models.SpecialTask.Task.RESET),