From 197324c7dfb00481e61927cbeec2d8c1ce4a9680 Mon Sep 17 00:00:00 2001 From: generall Date: Fri, 3 Jan 2025 12:56:42 +0000 Subject: [PATCH] fix filters in tests --- qdrant_client/local/tests/test_payload_filters.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qdrant_client/local/tests/test_payload_filters.py b/qdrant_client/local/tests/test_payload_filters.py index 7a7d9abf..baf0c7a0 100644 --- a/qdrant_client/local/tests/test_payload_filters.py +++ b/qdrant_client/local/tests/test_payload_filters.py @@ -62,7 +62,7 @@ def test_nested_payload_filters(): } ) - res = check_filter(query, payload, 0) + res = check_filter(query, payload, 0, has_vector={}) assert res is False query = models.Filter( @@ -87,7 +87,7 @@ def test_nested_payload_filters(): } ) - res = check_filter(query, payload, 0) + res = check_filter(query, payload, 0, has_vector={}) assert res is True query = models.Filter( @@ -113,7 +113,7 @@ def test_nested_payload_filters(): } ) - res = check_filter(query, payload, 0) + res = check_filter(query, payload, 0, has_vector={}) assert res is False query = models.Filter( @@ -138,7 +138,7 @@ def test_nested_payload_filters(): } ) - res = check_filter(query, payload, 0) + res = check_filter(query, payload, 0, has_vector={}) assert res is False @@ -173,7 +173,7 @@ def test_geo_polygon_filter_query(): } ) - res = check_filter(query, payload, 0) + res = check_filter(query, payload, 0, has_vector={}) assert res is True payload = { @@ -185,5 +185,5 @@ def test_geo_polygon_filter_query(): ] } - res = check_filter(query, payload, 0) + res = check_filter(query, payload, 0, has_vector={}) assert res is False