#NEWLINE# def setup_method( self , method ) : #NEWLINE# #INDENT# for i in range ( 5 ) : #NEWLINE# #INDENT# key = ( 'test' , 'demo' , i ) #NEWLINE# rec = { #NEWLINE# #INDENT# 'name' : ( 'name%s' % str ( i ) ) , #NEWLINE# 'contact_no' : [ i , ( i + 1 ) , ( i + 2 ) , ( i + 3 ) , ( i + 4 ) , ( i + 5 ) ] , #NEWLINE# 'city' : [ 'Pune' , 'Dehli' , 'Mumbai' ] , #NEWLINE# #UNINDENT# } #NEWLINE# TestListTrim . client . put ( key , rec ) #NEWLINE# #UNINDENT# key = ( 'test' , 'demo' , 1 ) #NEWLINE# TestListTrim . client . list_append ( key , 'contact_no' , [ 45 , 50 , 80 ] )