Home
last modified time | relevance | path

Searched refs:hostname_file (Results 1 – 2 of 2) sorted by relevance

/external/autotest/site_utils/deployment/
Dcmdvalidate.py235 def _is_hostname_file_valid(hostname_file): argument
246 return os.path.exists(hostname_file) and os.path.getsize(hostname_file) > 0
265 if arguments.hostnames and arguments.hostname_file:
270 if (arguments.hostname_file and
271 not _is_hostname_file_valid(arguments.hostname_file)):
275 if (not arguments.hostnames and not arguments.hostname_file and
487 def _parse_hostname_file(hostname_file): argument
498 with open(hostname_file) as f:
538 if arguments.hostname_file:
540 hostname_file_info_list = _parse_hostname_file(arguments.hostname_file)
Dcmdparse_unittest.py105 self.assertIsNone(arguments.hostname_file)
151 self.assertEquals(arguments.hostname_file, opt_arg)