Lines Matching refs:cfg
96 cfg = config.AcloudConfigManager.LoadConfigFromProtocolBuffer(
98 self.assertEquals(cfg.service_account_name,
100 self.assertEquals(cfg.service_account_private_key_path,
102 self.assertEquals(cfg.project, "fake-project")
103 self.assertEquals(cfg.zone, "us-central1-f")
104 self.assertEquals(cfg.machine_type, "n1-standard-1")
105 self.assertEquals(cfg.network, "default")
106 self.assertEquals(cfg.ssh_private_key_path, "/path/to/ssh/key")
107 self.assertEquals(cfg.storage_bucket_name, "fake_bucket")
108 self.assertEquals(cfg.orientation, "portrait")
109 self.assertEquals(cfg.resolution, "1200x1200x1200x1200")
110 self.assertEquals(cfg.client_id, "fake_client_id")
111 self.assertEquals(cfg.client_secret, "fake_client_secret")
113 for key, val in cfg.metadata_variable.iteritems()},
119 cfg = config.AcloudConfigManager.LoadConfigFromProtocolBuffer(
121 self.assertEquals(cfg.min_machine_size, "n1-standard-1")
122 self.assertEquals(cfg.disk_image_name, "avd-system.tar.gz")
123 self.assertEquals(cfg.disk_image_mime_type, "application/x-tar")
124 self.assertEquals(cfg.disk_image_extension, ".tar.gz")
125 self.assertEquals(cfg.disk_raw_image_name, "disk.raw")
126 self.assertEquals(cfg.disk_raw_image_extension, ".img")
127 self.assertEquals(cfg.creds_cache_file, ".fake_oauth2.dat")
128 self.assertEquals(cfg.user_agent, "fake_user_agent")
129 self.assertEquals(cfg.default_usr_cfg.machine_type, "n1-standard-1")
130 self.assertEquals(cfg.default_usr_cfg.network, "default")
133 for key, val in cfg.default_usr_cfg.metadata_variable.iteritems()
138 for key, val in cfg.device_resolution_map.iteritems()},
142 for key, val in cfg.device_default_orientation_map.iteritems()
147 for key, val in cfg.valid_branch_and_min_build_id.iteritems()