def test_valid_known_hosts_file_missing_partial_context(self): context = config_utils.PartialConfigContext expected = '/bogus/does/not/exist' filename = config_parse.valid_known_hosts_file( expected, context, ) assert_equal(filename, expected)
def test_valid_known_hosts_file_exists(self): filename = config_parse.valid_known_hosts_file( self.known_hosts_file.name, self.context, ) assert_equal(filename, self.known_hosts_file.name)
def test_valid_known_hosts_file_exists(self): filename = config_parse.valid_known_hosts_file( self.known_hosts_file.name, self.context) assert_equal(filename, self.known_hosts_file.name)