#NEWLINE# @ testing . gen_test #NEWLINE# def test_sinterstore( self ) : #NEWLINE# #INDENT# ( key1 , key2 , key3 , value1 , value2 , value3 ) = self . uuid4 ( 6 ) #NEWLINE# result = ( yield self . client . sadd ( key3 , value1 , value2 ) ) #NEWLINE# self . assertTrue ( result ) #NEWLINE# result = ( yield self . client . sadd ( key2 , value2 , value3 ) ) #NEWLINE# self . assertTrue ( result ) #NEWLINE# result = ( yield self . client . sinterstore ( key3 , key1 , key2 ) ) #NEWLINE# self . assertEqual ( result , 1 ) #NEWLINE# result = ( yield self . client . sismember ( key3 , value2 ) ) #NEWLINE# self . assertTrue ( result )