def test_fieldlistfilter_underscorelookup_tuple(self):
        modeladmin = BookAdminWithUnderscoreLookupAndTuple(Book, site)
        request = self.request_factory.get('/')
        changelist = self.get_changelist(request, Book, modeladmin)

        request = self.request_factory.get('/', {'author__email': 'alfred@example.com'})
        changelist = self.get_changelist(request, Book, modeladmin)

        # Make sure the correct queryset is returned
        queryset = changelist.get_queryset(request)
        self.assertEqual(list(queryset), [self.bio_book, self.djangonaut_book])
Extract Portal info and content for all specified users
dataset/ETHPy150Open django/django/tests/admin_filters/tests.py/ListFiltersTests.test_fieldlistfilter_underscorelookup_tuple--crossover with--dataset/ETHPy150Open Esri/ops-server-config/Publish/Portal/PortalContentExtract.py/extract_portal