Skip to content

Commit

Permalink
Test array
Browse files Browse the repository at this point in the history
Signed-off-by: Prateek Kumar <prateek.kumar@improving.com>
  • Loading branch information
prateek-kumar-improving committed Oct 21, 2024
1 parent e630e27 commit 30eb4db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/python/tests/tests_server_modules/test_ft.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ async def test_ft_info(self, glide_client: GlideClusterClient):
indexName = str(uuid.uuid4())
await TestFt._create_test_index_with_vector_field(self, glide_client=glide_client, index_name=indexName)
result = await ft.info(glide_client, indexName)
print("result====")
print(result)
assert True == False
assert indexName.encode() == result.get("index_name")
assert b"JSON" == result.get("key_type")
assert [b"key-prefix"] == result.get("key_prefixes")

async def _create_test_index_with_vector_field(
self, glide_client: GlideClusterClient, index_name: TEncodable
):
# Helper function used for creating a basic index with JSON data type with a text and vector field.
# Helper function used for creating an index with JSON data type with a text and vector field.
fields: List[Field] = []
textField: Field = TextField("$.text-field", "text-field")

Expand Down

0 comments on commit 30eb4db

Please sign in to comment.