'If there are custom settings for subclass and NO class attributes, pipeline should use custom
settings.'

def test_custom_settings_for_subclasses(self):

    class UserDefinedImagePipeline(ImagesPipeline, ):
        pass
    prefix = UserDefinedImagePipeline.__name__.upper()
    settings = self._generate_fake_settings(prefix=prefix)
    user_pipeline = UserDefinedImagePipeline.from_settings(Settings(settings))
    for (pipe_attr, settings_attr) in self.img_cls_attribute_names:
        custom_value = settings.get(((prefix + '_') + settings_attr))
        self.assertNotEqual(custom_value, self.default_pipeline_settings[pipe_attr])
        self.assertEqual(getattr(user_pipeline, pipe_attr.lower()), custom_value)
