def test_custom_settings(self):
        """adding custom settings to the index should be reflected in the returned output
        """
        model_properties = {'name': 'sentence-transformers/multi-qa-MiniLM-L6-cos-v1',
                            'dimensions': 384,
                            'tokens': 128,
                            'type': 'hf'}

        index_settings = {
            "type": "unstructured",
            'treatUrlsAndPointersAsImages': False,
            'model': 'test-model',
            'modelProperties': model_properties,
            'normalizeEmbeddings': True,
        }

        res = self.client.create_index(index_name=self.custom_index_name, settings_dict=index_settings)

        ix = self.client.index(self.custom_index_name)
        index_settings = ix.get_settings()
        fields = {'treatUrlsAndPointersAsImages', 'textPreprocessing', 'model', 'normalizeEmbeddings',
                  'imagePreprocessing', "filterStringMaxLength"}

        self.assertTrue(fields.issubset(set(index_settings)))
adding custom settings to the index should be reflected in the returned output
        
tests/api_tests/v1/tests/api_tests/unstructured_index/test_get_index_settings.py