#NEWLINE# def test_apply_with_incorrect_module( self ) : #NEWLINE# #INDENT# '\n            Invoke apply() with incorrect module\n        ' #NEWLINE# try : #NEWLINE# #INDENT# key = ( 'test' , 'demo' , 1 ) #NEWLINE# TestApply . client . apply ( key , 'samplewrong' , 'list_append' , [ 'name' , 'car' ] ) #NEWLINE# #UNINDENT# except aerospike . exception . UDFError as exception : #NEWLINE# #INDENT# assert ( exception . code == 100 ) #NEWLINE# assert ( exception . msg == 'UDF: Execution Error 1' )