#NEWLINE# def test_udf_get_policy_is_string( self ) : #NEWLINE# #INDENT# '\n        Invoke udf_get() with policy is string\n        ' #NEWLINE# module = 'bin_lua.lua' #NEWLINE# language = aerospike . UDF_TYPE_LUA #NEWLINE# try : #NEWLINE# #INDENT# TestGetRegistered . client . udf_get ( module , language , '' ) #NEWLINE# #UNINDENT# except e . ParamError as exception : #NEWLINE# #INDENT# assert ( exception . code == ( - 2 ) ) #NEWLINE# assert ( exception . msg == 'policy must be a dict' )