aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_web_search.py
blob: e88332530ceddf7bcfb2a1b7952a9b719bdf8f30 (plain)
1
2
3
4
5
6
7
8
9
from elasticsearch_dsl import Search

from fatcat_scholar.search import FulltextQuery, apply_filters


def test_apply_filters() -> None:
    search = Search()
    query = FulltextQuery()
    apply_filters(search, query)