Searched refs:compute_client (Results 1 – 4 of 4) sorted by relevance
/tools/acloud/public/ |
D | device_driver_test.py | 46 self.compute_client = mock.MagicMock() 50 return_value=self.compute_client) 90 self.compute_client.GetInstanceIP.return_value = fake_ip 91 self.compute_client.GenerateImageName.return_value = fake_image 92 self.compute_client.GenerateInstanceName.return_value = fake_instance 93 self.compute_client.GetDataDiskName.return_value = disk_name 102 self.compute_client.CreateImage.assert_called_with( 104 self.compute_client.CreateInstance.assert_called_with( 106 self.compute_client.DeleteImage.assert_called_with(fake_image) 127 self.compute_client.DeleteInstances.return_value = (instance_names, [], [all …]
|
D | device_driver.py | 301 def _FetchSerialLogsFromDevices(compute_client, instance_names, output_file, argument 315 serial_log = compute_client.GetSerialPortOutput( 387 compute_client = android_compute_client.AndroidComputeClient(cfg, 420 compute_client, 426 compute_client, 448 compute_client = android_compute_client.AndroidComputeClient(cfg, 451 deleted, failed, error_msgs = compute_client.DeleteInstances( 505 compute_client = android_compute_client.AndroidComputeClient( 510 items = compute_client.ListInstances(zone=cfg.zone) 517 result = compute_client.DeleteInstances( [all …]
|
/tools/acloud/internal/lib/ |
D | gcompute_client_test.py | 54 self.compute_client = gcompute_client.ComputeClient(fake_cfg, 56 self.compute_client._service = mock.MagicMock() 71 self.compute_client._service.globalOperations = mock.MagicMock( 74 self.compute_client._service.zoneOperations = mock.MagicMock( 77 self.compute_client._service.regionOperations = mock.MagicMock( 87 status = self.compute_client._GetOperationStatus( 98 status = self.compute_client._GetOperationStatus( 111 self.compute_client._GetOperationStatus( 126 self.compute_client._GetOperationStatus, 135 self.compute_client.WaitOnOperation( [all …]
|
/tools/acloud/public/acloud_kernel/ |
D | kernel_swapper_test.py | 37 self.compute_client = mock.MagicMock() 41 return_value=self.compute_client) 46 self.compute_client.GetInstanceIP.return_value = self.fake_ip 72 self.compute_client.WaitForBoot.assert_called_once_with(
|