fix: incorrect test name for fuzzy_fields (#252)

master
Caleb Hattingh 2024-04-24 15:10:45 +02:00 committed by GitHub
parent deb88ccdcd
commit ed7374c7bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)