Searched refs:DroneSet (Results 1 – 10 of 10) sorted by relevance
/external/autotest/scheduler/ |
D | agent_task_unittest.py | 41 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)
|
D | monitor_db_unittest.py | 1113 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())
|
D | agent_task.py | 422 if not models.DroneSet.drone_sets_enabled(): 454 default_hostnames = models.DroneSet.get_default().get_drone_hostnames()
|
D | monitor_db.py | 83 if (models.DroneSet.drone_sets_enabled() and 84 not models.DroneSet.default_drone_set_name()):
|
/external/autotest/frontend/afe/ |
D | frontend_test_utils.py | 12 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())
|
D | admin.py | 305 for drone_set in models.DroneSet.objects.exclude(id=self.instance.id): 317 admin.site.register(models.DroneSet, DroneSetAdmin)
|
D | models.py | 222 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'))
|
D | rpc_interface.py | 1580 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()
|
D | resources_test.py | 363 'drone_set': models.DroneSet.default_drone_set_name(),
|
/external/autotest/frontend/afe/doctests/ |
D | 001_rpc_test.txt | 33 >>> drone_set = models.DroneSet.default_drone_set_name() 35 ... _ = models.DroneSet.objects.create(name=drone_set)
|