def METHOD_NAME(self, *_):
    """
    Make sure only licences matching the text query are returned.
    """
    # Make a query without diacritics for an object with diacritics in its title
    content = self.execute_query(querystring="query=CC-")
    self.assertEqual(
        content,
        {
            "meta": {"count": 2, "offset": 0, "total_count": 2},
            "objects": [
                {"id": "2", "title": "CC-BY-NC"},
                {"id": "1", "title": "CC-BY-SA"},
            ],
        },
    )
    # Make a query with diacritics to make sure they're ignored
    content = self.execute_query(querystring="query=rêserves")
    self.assertEqual(
        content,
        {
            "meta": {"count": 1, "offset": 0, "total_count": 1},
            "objects": [{"id": "3", "title": "All Rights Résërvés"}],
        },
    )