def METHOD_NAME(self):
    """
    Make sure format_es_document_for_autocomplete returns a properly
    formatted person suggestion.
    """
    es_person = {
        "_id": 217,
        "_source": {
            "portrait": {"en": "/my_portrait.png", "fr": "/mon_portrait.png"},
            "title": {"en": "Cade Sura", "fr": "Pas lui"},
        },
    }
    self.assertEqual(
        PersonsIndexer.format_es_document_for_autocomplete(es_person, "en"),
        {"id": 217, "kind": "persons", "title": "Cade Sura"},
    )