• Home
  • Raw
  • Download

Lines Matching refs:objects

57         platform2 = models.Label.objects.create(name='platform2', platform=True)
223 host = models.Host.objects.get(hostname='testhost')
241 job = models.Job.objects.get(pk=job_id)
261 self.task1 = models.SpecialTask.objects.create(
265 self.task2 = models.SpecialTask.objects.create(
269 self.task3 = models.SpecialTask.objects.create(
331 shard = models.Shard.objects.create(hostname='shard')
469 host = models.Host.objects.all()[0]
471 shard = models.Shard.objects.create(hostname=shard_hostname)
504 host = models.Host.objects.get(pk=host.id)
530 host1 = models.Host.objects.all()[0]
531 host2 = models.Host.objects.all()[1]
533 shard1 = models.Shard.objects.create(hostname='shard1')
537 shard2 = models.Shard.objects.create(hostname='shard2')
577 host1 = models.Host.objects.get(pk=host1.id)
579 host2 = models.Host.objects.get(pk=host2.id)
586 host1 = models.Host.objects.all()[0]
587 shard1 = models.Shard.objects.create(hostname='shard1')
609 label1 = models.Label.objects.all()[0]
612 host2 = models.Host.objects.all()[1]
613 shard1 = models.Shard.objects.create(hostname='shard1')
628 self.assertEqual(models.Label.objects.all()[0].invalid, 1)
633 label1 = models.Label.objects.all()[0]
635 host2 = models.Host.objects.all()[1]
636 shard1 = models.Shard.objects.create(hostname='shard1')
664 job = models.Job.objects.get(id=job_id)
678 job = models.Job.objects.get(id=job_id)
692 job = models.Job.objects.get(id=job_id)
707 job = models.Job.objects.get(id=job_id)
1073 job = models.Job.objects.get(pk=job_id)
1074 shard = models.Shard.objects.create(hostname='host1')
1104 self.assertEqual(models.HostQueueEntry.objects.all()[0].status,
1116 self.assertEqual(models.HostQueueEntry.objects.all()[0].status,
1122 shard1 = models.Shard.objects.create(hostname='shard1')
1123 shard2 = models.Shard.objects.create(hostname='shard2')
1128 hqe1 = models.HostQueueEntry.objects.create(job=job1)
1129 hqe2 = models.HostQueueEntry.objects.create(job=job2)
1151 self.assertEqual(models.Job.objects.get(id=job1_id).control_file,
1153 self.assertEqual(models.Job.objects.get(id=job2_id).control_file,
1155 self.assertEqual(models.HostQueueEntry.objects.get(id=hqe1_id).status,
1157 self.assertEqual(models.HostQueueEntry.objects.get(id=hqe2_id).status,
1174 label = models.Label.objects.create(name=label_name)
1176 shard = models.Shard.objects.create(hostname=shard_hostname)
1179 host = models.Host.objects.create(hostname=host_hostname, leased=False,
1192 return models.Job.objects.get(id=job_id)
1200 label2 = models.Label.objects.create(name='bluetooth', platform=False)
1212 host2 = models.Host.objects.create(hostname='host2', leased=False)
1224 host2 = models.Host.objects.create(hostname='host2', leased=False)
1247 stumpy_label = models.Label.objects.create(
1271 leased_host = models.Host.objects.create(hostname='leased_host',
1301 host3 = models.Host.objects.create(hostname='host3', leased=False)
1327 job1 = models.Job.objects.get(pk=job1.id)
1344 job2 = models.Job.objects.get(pk=job2.pk)
1357 models.Test.objects.create(name='platform_BootPerfServer:shard',
1365 models.Shard.DoesNotExist, models.Shard.objects.get, pk=shard1.id)
1367 job1 = models.Job.objects.get(pk=job1.id)
1368 lumpy_label = models.Label.objects.get(pk=lumpy_label.id)
1369 host1 = models.Host.objects.get(pk=host1.id)
1370 super_job = models.Job.objects.get(priority=priorities.Priority.SUPER)
1371 super_job_host = models.HostQueueEntry.objects.get(
1383 lumpy_label = models.Label.objects.create(name='board:lumpy',
1385 stumpy_label = models.Label.objects.create(name='board:stumpy',
1387 peppy_label = models.Label.objects.create(name='board:peppy',
1398 shard = models.Shard.objects.get(pk=shard_id)
1412 stumpy_label = models.Label.objects.create(name='board:stumpy',
1424 shard = models.Shard.objects.get(pk=shard_id)