#NEWLINE# def test_pos_list_extend_with_policy( self ) : #NEWLINE# #INDENT# '\n        Invoke list_extend() extend the list with integer values and\n        policy is passed\n        ' #NEWLINE# key = ( 'test' , 'demo' , 1 ) #NEWLINE# policy = { #NEWLINE# #INDENT# 'timeout' : 1000 , #NEWLINE# 'retry' : aerospike . POLICY_RETRY_ONCE , #NEWLINE# 'commit_level' : aerospike . POLICY_COMMIT_LEVEL_MASTER , #NEWLINE# #UNINDENT# } #NEWLINE# self . as_connection . list_extend ( key , 'contact_no' , [ 12 , 56 , 89 ] , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , policy ) #NEWLINE# ( key , _ , bins ) = self . as_connection . get ( key ) #NEWLINE# assert ( bins == { #NEWLINE# #INDENT# 'contact_no' : [ 1 , 2 , 12 , 56 , 89 ] , #NEWLINE# 'name' : 'name1' , #NEWLINE# 'city' : [ 'Pune' , 'Dehli' ] , #NEWLINE# #UNINDENT# } )