Home
last modified time | relevance | path

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

/external/autotest/scheduler/
Dagent_task_unittest.py41 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
42 models.DroneSet.drone_sets_enabled.expect_call().and_return(False)
58 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
59 models.DroneSet.drone_sets_enabled.expect_call().and_return(False)
Dmonitor_db_unittest.py1113 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
1114 models.DroneSet.drone_sets_enabled.expect_call().and_return(True)
1120 drone_set_1 = models.DroneSet.objects.create(name='1')
1122 drone_set_2 = models.DroneSet.objects.create(name='2')
1124 drone_set_3 = models.DroneSet.objects.create(name='3')
1193 self.god.stub_function(models.DroneSet, 'drone_sets_enabled')
1197 models.DroneSet.drone_sets_enabled.expect_call().and_return(True)
1211 self.god.stub_function(models.DroneSet, 'get_default')
1212 models.DroneSet.get_default.expect_call().and_return(MockDroneSet())
Dagent_task.py422 if not models.DroneSet.drone_sets_enabled():
454 default_hostnames = models.DroneSet.get_default().get_drone_hostnames()
Dmonitor_db.py83 if (models.DroneSet.drone_sets_enabled() and
84 not models.DroneSet.default_drone_set_name()):
/external/autotest/frontend/afe/
Dfrontend_test_utils.py12 if models.DroneSet.drone_sets_enabled():
13 models.DroneSet.objects.create(
14 name=models.DroneSet.default_drone_set_name())
117 drone_set = (models.DroneSet.default_drone_set_name()
118 and models.DroneSet.get_default())
Dadmin.py305 for drone_set in models.DroneSet.objects.exclude(id=self.instance.id):
317 admin.site.register(models.DroneSet, DroneSetAdmin)
Dmodels.py222 class DroneSet(dbmodels.Model, model_logic.ModelExtensions): class
247 super(DroneSet, self).save(*args, **kwargs)
253 super(DroneSet, self).delete()
344 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1383 drone_set = dbmodels.ForeignKey(DroneSet, null=True, blank=True)
1488 drone_set = DroneSet.resolve_name(options.get('drone_set'))
Drpc_interface.py1580 default_drone_set_name = models.DroneSet.default_drone_set_name()
1583 models.DroneSet.objects.exclude(
1616 result['drone_sets_enabled'] = models.DroneSet.drone_sets_enabled()
Dresources_test.py363 'drone_set': models.DroneSet.default_drone_set_name(),
/external/autotest/frontend/afe/doctests/
D001_rpc_test.txt33 >>> drone_set = models.DroneSet.default_drone_set_name()
35 ... _ = models.DroneSet.objects.create(name=drone_set)