Skip to content

Commit 5b3e74c

Browse files
your commit message
1 parent a4c25ca commit 5b3e74c

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

tests/integration/test_message_history.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -592,9 +592,7 @@ def test_different_vector_dtypes(redis_url):
592592
def test_bad_dtype_connecting_to_exiting_history(redis_url):
593593
def create_history():
594594
return SemanticMessageHistory(
595-
name="float64 history",
596-
dtype="float64",
597-
redis_url=redis_url
595+
name="float64 history", dtype="float64", redis_url=redis_url
598596
)
599597

600598
def create_same_type():

tests/integration/test_query.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -926,12 +926,9 @@ def test_vector_query_with_ef_runtime_flat_index(flat_index, vector_query, sampl
926926

927927

928928
@pytest.fixture
929-
def missing_fields_index(worker_id, redis_client):
929+
def missing_fields_index(worker_id, client):
930930
"""Create an index with INDEXMISSING and INDEXEMPTY enabled fields and test data."""
931-
skip_if_redis_version_below(
932-
redis_client,
933-
"7.2.0",
934-
)
931+
skip_if_redis_version_below(client, "7.2.0")
935932

936933
# Create an index with INDEXMISSING enabled fields (filterable fields only)
937934
missing_index = SearchIndex.from_dict(
@@ -962,7 +959,7 @@ def missing_fields_index(worker_id, redis_client):
962959
{"name": "description", "type": "text"},
963960
],
964961
},
965-
redis_client=redis_client,
962+
redis_client=client,
966963
)
967964

968965
# Create the index

0 commit comments

Comments
 (0)