diff options
Diffstat (limited to 'tests/test_web_search.py')
-rw-r--r-- | tests/test_web_search.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_web_search.py b/tests/test_web_search.py new file mode 100644 index 0000000..e883325 --- /dev/null +++ b/tests/test_web_search.py @@ -0,0 +1,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) |