def test_ignore_index_multiple(self):
        name_idx = index_name(AuthorMultiIndex, 'name')
        name_country_idx = index_name(AuthorMultiIndex, 'name', 'country')
        with CaptureLastQuery() as cap:
            list(AuthorMultiIndex.objects
                                 .filter(name__gt='')
                                 .ignore_index(name_idx, name_country_idx))
        assert (
            'IGNORE INDEX (`' + name_idx + '`,`' + name_country_idx + '`)'
            in cap.query
        )
        used = used_indexes(cap.query)
        assert name_idx not in used
        assert name_country_idx not in used
dataset/ETHPy150Open adamchainz/django-mysql/tests/testapp/test_models.py/QueryHintTests.test_ignore_index_multiple/original