Skip to content

Commit 109de58

Browse files
Merge branch 'master' into format_fixes
2 parents 9b120cb + 5787432 commit 109de58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def testClient(self):
107107
waitForIndex(r, 'test')
108108
# verify info
109109
info = client.info()
110-
for k in ['index_name', 'index_options', 'fields', 'num_docs',
110+
for k in ['index_name', 'index_options', 'attributes', 'num_docs',
111111
'max_doc_id', 'num_terms', 'num_records', 'inverted_sz_mb',
112112
'offset_vectors_sz_mb', 'doc_table_size_mb', 'key_table_size_mb',
113113
'records_per_doc_avg', 'bytes_per_record_avg', 'offsets_per_term_avg',
@@ -732,8 +732,8 @@ def testTextFieldSortableNostem(self):
732732

733733
# Now get the index info to confirm its contents
734734
response = client.info()
735-
self.assertIn('SORTABLE', response['fields'][0])
736-
self.assertIn('NOSTEM', response['fields'][0])
735+
self.assertIn('SORTABLE', response['attributes'][0])
736+
self.assertIn('NOSTEM', response['attributes'][0])
737737

738738
def testAlterSchemaAdd(self):
739739
conn = self.redis()

0 commit comments

Comments
 (0)