Home
last modified time | relevance | path

Searched refs:config_file (Results 1 – 14 of 14) sorted by relevance

/tools/acloud/public/
Dconfig_test.py111 self.config_file = mock.MagicMock()
116 self.config_file.read.return_value = self.USER_CONFIG
118 self.config_file, user_config_pb2.UserConfig)
155 config_specify = config.AcloudConfigManager(self.config_file)
156 self.config_file.read.return_value = self.USER_CONFIG
157 self.assertEqual(config_specify.user_config_path, self.config_file)
193 self.config_file.read.return_value = self.INTERNAL_CONFIG
195 self.config_file, internal_config_pb2.InternalConfig)
254 self.config_file.read.return_value = "malformed text"
257 self.config_file, internal_config_pb2.InternalConfig)
[all …]
Dconfig.py83 config_mgr = AcloudConfigManager(args.config_file)
299 with open(self._internal_config_path) as config_file:
301 config_file, internal_config_pb2.InternalConfig)
307 with open(self.user_config_path, "r") as config_file:
309 config_file, user_config_pb2.UserConfig)
316 with open(self.user_config_path, "r") as config_file:
318 config_file, user_config_pb2.UserConfig)
324 def LoadConfigFromProtocolBuffer(config_file, message_type): argument
337 text_format.Merge(config_file.read(), config)
/tools/test/connectivity/acts/framework/acts/config/
Dconfig_generator.py159 config_file = config[file_path_key]
160 if type(config_file) is str:
161 if os.path.isabs(config_file):
168 config_file = os.path.join(config_path, config_file)
169 if not os.path.isfile(config_file):
171 'config file.', config_file)
172 config[file_path_key] = config_file
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py89 config_file = config[file_path_key]
90 if type(config_file) is str:
91 if not os.path.isfile(config_file):
92 config_file = os.path.join(config_path, config_file)
93 if not os.path.isfile(config_file):
95 "config file.", config_file)
96 config[file_path_key] = config_file
/tools/tradefederation/core/atest/test_finders/
Dmodule_finder.py103 config_file = os.path.join(self.root_dir,
119 vts_xmls.add(config_file)
120 for config_file in vts_xmls:
123 config_file, vts_out_dir, self.module_info)
182 config_file = os.path.join(self.root_dir, rel_config)
183 targets = test_finder_utils.get_targets_from_xml(config_file,
Dtf_integration_finder.py78 config_file = os.path.join(self.root_dir, rel_config)
79 xml_root = self._load_xml_file(config_file)
/tools/test/connectivity/acts/tests/google/bt/
Drelay_tool.py56 with open(config_path) as config_file:
57 config = json.load(config_file)
/tools/test/connectivity/tools/lab/
Dmain.py108 config_file = arg_dict.pop('config',
115 with open(config_file) as json_data:
/tools/acloud/setup/
Dsetup.py51 gcp_runner = gcp_setup_runner.GcpTaskRunner(args.config_file)
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py76 config_mgr = config.AcloudConfigManager(args.config_file)
/tools/acloud/create/
Dlocal_image_remote_instance_test.py115 args.config_file = ""
Dcreate.py162 gcp_setup = gcp_setup_runner.GcpTaskRunner(args.config_file)
Davd_spec_test.py39 self.args.config_file = ""
/tools/acloud/internal/lib/
Dcvd_compute_client_test.py137 args.config_file = ""