Searched refs:DroneSet (Results 1 – 9 of 9) sorted by relevance
/external/autotest/scheduler/ |
D | agent_task_unittest.py | 42 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)
|
D | monitor_db_unittest.py | 898 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())
|
D | agent_task.py | 433 if not models.DroneSet.drone_sets_enabled(): 465 default_hostnames = models.DroneSet.get_default().get_drone_hostnames()
|
D | monitor_db.py | 82 if (models.DroneSet.drone_sets_enabled() and 83 not models.DroneSet.default_drone_set_name()):
|
/external/autotest/frontend/afe/ |
D | frontend_test_utils.py | 14 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())
|
D | admin.py | 302 for drone_set in models.DroneSet.objects.exclude(id=self.instance.id): 314 admin.site.register(models.DroneSet, DroneSetAdmin)
|
D | models.py | 263 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'))
|
D | rpc_interface.py | 1701 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/ |
D | 001_rpc_test.txt | 36 >>> drone_set = models.DroneSet.default_drone_set_name() 38 ... _ = models.DroneSet.objects.create(name=drone_set)
|