Skip to content

Commit

Permalink
fix filters in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
generall committed Jan 3, 2025
1 parent 5686ed5 commit 197324c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions qdrant_client/local/tests/test_payload_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand All @@ -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(
Expand All @@ -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


Expand Down Expand Up @@ -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 = {
Expand All @@ -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

0 comments on commit 197324c

Please sign in to comment.