def METHOD_NAME(self):
    with self.assertRaises(SearxSettingsException):
        settings_loader.load_yaml('/dev/zero')
    with self.assertRaises(SearxSettingsException):
        settings_loader.load_yaml(join(test_dir, '/settings/syntaxerror_settings.yml'))
    with self.assertRaises(SearxSettingsException):
        settings_loader.load_yaml(join(test_dir, '/settings/empty_settings.yml'))