Lines Matching refs:cfg
55 cfg = mock.MagicMock()
56 cfg.service_account_name = "fake@service.com"
57 cfg.service_account_private_key_path = "/fake/path/to/key"
58 cfg.zone = "fake_zone"
59 cfg.disk_image_name = "fake_image.tar.gz"
60 cfg.disk_image_mime_type = "fake/type"
61 cfg.storage_bucket_name = "fake_bucket"
62 cfg.extra_data_disk_size_gb = 4
63 cfg.precreated_data_image_map = {
67 cfg.ssh_private_key_path = ""
68 cfg.ssh_public_key_path = ""
70 return cfg
74 cfg = self._CreateCfg()
85 fake_gs_object = fake_uuid.hex + "-" + cfg.disk_image_name
97 cfg, fake_build_target, fake_build_id)
99 fake_build_target, fake_build_id, artifact_name=cfg.disk_image_name,
100 destination_bucket=cfg.storage_bucket_name,
107 self.storage_client.Delete(cfg.storage_bucket_name, fake_gs_object)
129 cfg = self._CreateCfg()
130 r = device_driver.DeleteAndroidVirtualDevices(cfg, instance_names)
132 instance_names, cfg.zone)
213 cfg = self._CreateCfg()
214 r = device_driver.Cleanup(cfg, expiration_mins)
231 zone=cfg.zone)
233 instances=["fake_instance_1"], zone=cfg.zone)
239 self.compute_client.ListDisks.assert_called_once_with(zone=cfg.zone)
241 disk_names=["fake_disk_1"], zone=cfg.zone)
244 bucket_name=cfg.storage_bucket_name)
246 bucket_name=cfg.storage_bucket_name,