'Test situation when user defines subclass of ImagePipeline,
but uses attribute names for default pipeline (without prefixing
them with pipeline class name).'

def test_user_defined_subclass_default_key_names(self):

    settings = self._generate_fake_settings()
    class UserPipe(ImagesPipeline, ):
        pass
    pipeline_cls = UserPipe.from_settings(Settings(settings))
    for (pipe_attr, settings_attr) in self.img_cls_attribute_names:
        expected_value = settings.get(settings_attr)
        self.assertEqual(getattr(pipeline_cls, pipe_attr.lower()), expected_value)
