HomeSort by relevance Sort by last modified time
    Searched refs:hostname_file (Results 1 - 2 of 2) sorted by null

  /external/autotest/site_utils/deployment/
cmdparse_unittest.py 105 self.assertIsNone(arguments.hostname_file)
145 """Test handling of `--hostname_file`, both long and short forms."""
147 for option in ['-f', '--hostname_file']:
151 self.assertEquals(arguments.hostname_file, opt_arg)
cmdvalidate.py 77 # The number of items per line when parsing the hostname_file csv file.
235 def _is_hostname_file_valid(hostname_file):
242 @param hostname_file Filename of the hostname file to check.
246 return os.path.exists(hostname_file) and os.path.getsize(hostname_file) > 0
264 # If both hostnames and hostname_file are specified, complain about that.
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 an
    [all...]

Completed in 549 milliseconds