#NEWLINE# def test_udf_get_with_correct_paramters_without_connection( self ) : #NEWLINE# #INDENT# '\n        Invoke udf_get() with correct parameters without connection\n        ' #NEWLINE# module = 'bin_lua.lua' #NEWLINE# language = aerospike . UDF_TYPE_LUA #NEWLINE# policy = { #NEWLINE# #INDENT# 'timeout' : 5000 , #NEWLINE# #UNINDENT# } #NEWLINE# config = { #NEWLINE# #INDENT# 'hosts' : [ ( '127.0.0.1' , 3000 ) ] , #NEWLINE# #UNINDENT# } #NEWLINE# client1 = aerospike . client ( config ) #NEWLINE# try : #NEWLINE# #INDENT# client1 . udf_get ( module , language , policy ) #NEWLINE# #UNINDENT# except e . ClusterError as exception : #NEWLINE# #INDENT# assert ( exception . code == 11 ) #NEWLINE# assert ( exception . msg == 'No connection to aerospike cluster' )