From ed7374c7bd2277ccfc795e3fdada555f0e610f50 Mon Sep 17 00:00:00 2001 From: Caleb Hattingh Date: Wed, 24 Apr 2024 15:10:45 +0200 Subject: [PATCH] fix: incorrect test name for fuzzy_fields (#252) --- tests/tantivy_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tantivy_test.py b/tests/tantivy_test.py index 0124c2f..806cd67 100644 --- a/tests/tantivy_test.py +++ b/tests/tantivy_test.py @@ -101,7 +101,7 @@ class TestClass(object): == """Query(BooleanQuery { subqueries: [(Should, Boost(query=TermQuery(Term(field=0, type=Str, "winter")), boost=2.3)), (Should, TermQuery(Term(field=1, type=Str, "winter")))] })""" ) - def test_parse_query_field_boosts(self, ram_index): + def test_parse_query_fuzzy_fields(self, ram_index): query = ram_index.parse_query("winter", fuzzy_fields={"title": (True, 1, False)}) assert ( repr(query)