File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -597,9 +597,11 @@ def testTags(self):
597
597
598
598
client .create_index ((TextField ('txt' ), TagField ('tags' )))
599
599
600
- tags = 'foo,foo bar,hello;world'
600
+ tags = 'foo,foo bar,hello;world'
601
+ tags2 = 'soba,ramen'
601
602
602
603
client .add_document ('doc1' , txt = 'fooz barz' , tags = tags )
604
+ client .add_document ('doc2' , txt = 'noodles' , tags = tags2 )
603
605
604
606
for i in r .retry_with_rdb_reload ():
605
607
waitForIndex (r , 'idx' )
@@ -620,9 +622,7 @@ def testTags(self):
620
622
self .assertEqual (1 , res .total )
621
623
622
624
q2 = client .tagvals ('tags' )
623
- self .assertEqual (tags .split (',' ), q2 )
624
-
625
-
625
+ self .assertEqual (tags .split (',' ) + tags2 .split (',' ), q2 )
626
626
627
627
def testTextFieldSortableNostem (self ):
628
628
conn = self .redis ()
You can’t perform that action at this time.
0 commit comments