#NEWLINE# def test_list_get_with_correct_policy( self ) : #NEWLINE# #INDENT# '\n        Invoke list_get() get with correct policy\n        ' #NEWLINE# key = ( 'test' , 'demo' , 2 ) #NEWLINE# policy = { #NEWLINE# #INDENT# 'timeout' : 1000 , #NEWLINE# 'retry' : aerospike . POLICY_RETRY_ONCE , #NEWLINE# 'commit_level' : aerospike . POLICY_COMMIT_LEVEL_MASTER , #NEWLINE# #UNINDENT# } #NEWLINE# val = TestListGet . client . list_get ( key , 'contact_no' , 2 , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , policy ) #NEWLINE# assert ( val == [ 45 , 50 , 80 ] )