def METHOD_NAME(self):
    # tests contains touples of query_parameter dics and the expected whoosh query
    param = "tags"
    field, _ = DelayedQuery.param_map[param]
    tests = (
        (
            {f"{param}__id__all": "42,43"},
            query.And(
                [
                    query.Term(f"{field}_id", "42"),
                    query.Term(f"{field}_id", "43"),
                    self.has_no_owner,
                ],
            ),
        ),
        # tags does not allow __id
        (
            {f"{param}__id": "42"},
            self.has_no_owner,
        ),
        # tags does not allow __isnull
        (
            {f"{param}__isnull": "true"},
            self.has_no_owner,
        ),
        self._get_testset__id__in(param, field),
        self._get_testset__id__none(param, field),
    )
    for params, expected in tests:
        dq = DelayedQuery(None, params, None, None)
        got = dq._get_query_filter()
        self.assertCountEqual(got, expected)