diff --git a/python/python/tests/tests_server_modules/test_ft.py b/python/python/tests/tests_server_modules/test_ft.py index a0694f8a58..8b44b4eb0b 100644 --- a/python/python/tests/tests_server_modules/test_ft.py +++ b/python/python/tests/tests_server_modules/test_ft.py @@ -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")