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

def test_custom_settings_for_subclasses(self):

    class UserDefinedFilesPipeline(FilesPipeline, ):
        pass
    prefix = UserDefinedFilesPipeline.__name__.upper()
    settings = self._generate_fake_settings(prefix=prefix)
    user_pipeline = UserDefinedFilesPipeline.from_settings(Settings(settings))
    for (pipe_attr, settings_attr, pipe_inst_attr) in self.file_cls_attr_settings_map:
        custom_value = settings.get(((prefix + '_') + settings_attr))
        self.assertNotEqual(custom_value, self.default_cls_settings[pipe_attr])
        self.assertEqual(getattr(user_pipeline, pipe_inst_attr), custom_value)
