def test_delete_clears_cache(self):
        """deletes the index info from cache"""
        assert self.index_name_1 not in index_meta_cache.get_cache()
        tensor_search.create_vector_index(config=self.config, index_name=self.index_name_1)
        tensor_search.create_vector_index(config=self.config, index_name=self.index_name_2)
        assert self.index_name_1 in index_meta_cache.get_cache()
        assert self.index_name_2 in index_meta_cache.get_cache()
        # make sure only index 1 is deleted:
        tensor_search.delete_index(config=self.config, index_name=self.index_name_1)
        assert self.index_name_1 not in index_meta_cache.get_cache()
        assert self.index_name_2 in index_meta_cache.get_cache()
deletes the index info from cache
tests/integ_tests/tensor_search/test_delete_index.py