#NEWLINE# def test_pos_list_set_with_element_map( self ) : #NEWLINE# #INDENT# '\n        Invoke list_set() sets list element with map\n        ' #NEWLINE# key = ( 'test' , 'demo' , 1 ) #NEWLINE# status = self . as_connection . list_set ( key , 'contact_no' , 5 , { #NEWLINE# #INDENT# 'k1' : 56 , #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( self == 0 ) #NEWLINE# ( key , _ , bins ) = self . as_connection . get ( key ) #NEWLINE# assert ( bins == { #NEWLINE# #INDENT# 'city' : [ 'Pune' , 'Dehli' ] , #NEWLINE# 'contact_no' : [ 1 , 2 , None , None , None , { #NEWLINE# #INDENT# 'k1' : 56 , #NEWLINE# #UNINDENT# } ] , #NEWLINE# 'name' : 'name1' , #NEWLINE# #UNINDENT# } )