'If image settings are defined but they are not defined for subclass default
values taken from settings should be preserved.'

def test_subclass_attrs_preserved_custom_settings(self):

    pipeline_cls = self._generate_fake_pipeline_subclass()
    settings = self._generate_fake_settings()
    pipeline = pipeline_cls.from_settings(Settings(settings))
    for (pipe_attr, settings_attr) in self.img_cls_attribute_names:
        value = getattr(pipeline, pipe_attr.lower())
        self.assertNotEqual(value, self.default_pipeline_settings[pipe_attr])
        setings_value = settings.get(settings_attr)
        self.assertEqual(value, setings_value)
