Searched refs:hostname_file (Results 1 – 2 of 2) sorted by relevance
235 def _is_hostname_file_valid(hostname_file): argument246 return os.path.exists(hostname_file) and os.path.getsize(hostname_file) > 0265 if arguments.hostnames and arguments.hostname_file:270 if (arguments.hostname_file and271 not _is_hostname_file_valid(arguments.hostname_file)):275 if (not arguments.hostnames and not arguments.hostname_file and487 def _parse_hostname_file(hostname_file): argument498 with open(hostname_file) as f:538 if arguments.hostname_file:540 hostname_file_info_list = _parse_hostname_file(arguments.hostname_file)
105 self.assertIsNone(arguments.hostname_file)151 self.assertEquals(arguments.hostname_file, opt_arg)