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.py894 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
895 models.DroneSet.drone_sets_enabled.expect_call().and_return(True)
901 drone_set_1 = models.DroneSet.objects.create(name='1')
903 drone_set_2 = models.DroneSet.objects.create(name='2')
905 drone_set_3 = models.DroneSet.objects.create(name='3')
974 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
978 models.DroneSet.drone_sets_enabled.expect_call().and_return(True)
992 self.god.stub_function(models.DroneSet, 'get_default')
993 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.py81 if (models.DroneSet.drone_sets_enabled() and
82 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.py264 class DroneSet(dbmodels.Model, model_logic.ModelExtensions): class
289 super(DroneSet, self).save(*args, **kwargs)
295 super(DroneSet, self).delete()
386 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1530 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1598 drone_set = DroneSet.resolve_name(options.get('drone_set'))
Drpc_interface.py1695 default_drone_set_name = models.DroneSet.default_drone_set_name()
1698 models.DroneSet.objects.exclude(
1729 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)