Skip to content

Commit

Permalink
test: fix search tests (dragonflydb#3625)
Browse files Browse the repository at this point in the history
  • Loading branch information
BorysTheDev authored Sep 3, 2024
1 parent 879f295 commit 8fca7dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/dragonfly/search_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ async def test_management(async_client: aioredis.Redis):
VectorField(
"f5",
algorithm="HNSW",
attributes={"TYPE": "FLOAT32", "DIM": 1, "DISTANCE_METRIC": "L2", "INITICAL_CAP": 100},
attributes={"TYPE": "FLOAT32", "DIM": 1, "DISTANCE_METRIC": "L2", "INITIAL_CAP": 100},
),
]

Expand Down Expand Up @@ -239,7 +239,7 @@ async def test_knn(async_client: aioredis.Redis, index_type, algo_type):
"TYPE": "FLOAT32",
"DIM": 1,
"DISTANCE_METRIC": "L2",
"INITICAL_CAP": 100,
"INITIAL_CAP": 100,
},
)

Expand Down Expand Up @@ -339,7 +339,7 @@ async def test_knn_score_return(async_client: aioredis.Redis):
attributes={
"DIM": 1,
"DISTANCE_METRIC": "L2",
"INITICAL_CAP": 100,
"INITIAL_CAP": 100,
},
)

Expand Down Expand Up @@ -381,7 +381,7 @@ async def test_index_persistence(df_server):
VectorField(
"pos",
algorithm="HNSW",
attributes={"TYPE": "FLOAT32", "DIM": 1, "DISTANCE_METRIC": "L2", "INITICAL_CAP": 100},
attributes={"TYPE": "FLOAT32", "DIM": 1, "DISTANCE_METRIC": "L2", "INITIAL_CAP": 100},
),
]

Expand Down

0 comments on commit 8fca7dd

Please sign in to comment.