Home
last modified time | relevance | path

Searched refs:DroneSet (Results 1 – 9 of 9) sorted by relevance

/external/autotest/scheduler/
Dagent_task_unittest.py42 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
43 models.DroneSet.drone_sets_enabled.expect_call().and_return(False)
59 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
60 models.DroneSet.drone_sets_enabled.expect_call().and_return(False)
Dmonitor_db_unittest.py898 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
899 models.DroneSet.drone_sets_enabled.expect_call().and_return(True)
905 drone_set_1 = models.DroneSet.objects.create(name='1')
907 drone_set_2 = models.DroneSet.objects.create(name='2')
909 drone_set_3 = models.DroneSet.objects.create(name='3')
978 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
982 models.DroneSet.drone_sets_enabled.expect_call().and_return(True)
996 self.god.stub_function(models.DroneSet, 'get_default')
997 models.DroneSet.get_default.expect_call().and_return(MockDroneSet())
Dagent_task.py433 if not models.DroneSet.drone_sets_enabled():
465 default_hostnames = models.DroneSet.get_default().get_drone_hostnames()
Dmonitor_db.py82 if (models.DroneSet.drone_sets_enabled() and
83 not models.DroneSet.default_drone_set_name()):
/external/autotest/frontend/afe/
Dfrontend_test_utils.py14 if models.DroneSet.drone_sets_enabled():
15 models.DroneSet.objects.create(
16 name=models.DroneSet.default_drone_set_name())
119 drone_set = (models.DroneSet.default_drone_set_name()
120 and models.DroneSet.get_default())
Dadmin.py302 for drone_set in models.DroneSet.objects.exclude(id=self.instance.id):
314 admin.site.register(models.DroneSet, DroneSetAdmin)
Dmodels.py263 class DroneSet(dbmodels.Model, model_logic.ModelExtensions): class
288 super(DroneSet, self).save(*args, **kwargs)
294 super(DroneSet, self).delete()
385 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1519 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1587 drone_set = DroneSet.resolve_name(options.get('drone_set'))
Drpc_interface.py1701 default_drone_set_name = models.DroneSet.default_drone_set_name()
1704 models.DroneSet.objects.exclude(
1737 result['drone_sets_enabled'] = models.DroneSet.drone_sets_enabled()
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt36 >>> drone_set = models.DroneSet.default_drone_set_name()
38 ... _ = models.DroneSet.objects.create(name=drone_set)