Lines Matching refs:cfg
36 cfg = mock.MagicMock()
37 cfg.service_account_name = "fake@service.com"
38 cfg.service_account_private_key_path = "/fake/path/to/key"
39 cfg.zone = "fake_zone"
40 cfg.disk_image_name = "fake_image.tar.gz"
41 cfg.disk_image_mime_type = "fake/type"
42 cfg.storage_bucket_name = "fake_bucket"
43 cfg.extra_data_disk_size_gb = 4
44 cfg.precreated_data_image_map = {
48 cfg.extra_scopes = None
49 cfg.ssh_private_key_path = ""
50 cfg.ssh_public_key_path = ""
52 return cfg
79 cfg = _CreateCfg()
90 fake_gs_object = fake_uuid.hex + "-" + cfg.disk_image_name
102 cfg, fake_build_target, fake_build_id, avd_spec=self.fake_avd_spec)
104 fake_build_target, fake_build_id, artifact_name=cfg.disk_image_name,
105 destination_bucket=cfg.storage_bucket_name,
116 self.storage_client.Delete(cfg.storage_bucket_name, fake_gs_object)
135 cfg = _CreateCfg()
145 cfg, fake_build_target, fake_build_id, report_internal_ip=True,
162 cfg = _CreateCfg()
165 {cfg.zone: instance_names})
168 report = device_driver.DeleteAndroidVirtualDevices(cfg, instance_names)
170 instance_names, cfg.zone)