#NEWLINE# def test_javac_fail( self ) : #NEWLINE# #INDENT# '\n        Test RuntimeError when compilation fails\n        :return:\n        ' #NEWLINE# obj = SeleniumExecutor ( ) #NEWLINE# obj . engine = self . engine_obj #NEWLINE# obj . settings = self . selenium_config #NEWLINE# obj . engine . config . merge ( { #NEWLINE# #INDENT# ScenarioExecutor . EXEC : { #NEWLINE# #INDENT# 'executor' : 'selenium' , #NEWLINE# 'scenario' : { #NEWLINE# #INDENT# 'script' : ( __dir__ ( ) + '/../selenium/invalid/invalid.java' ) , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# obj . execution = obj . engine . config [ 'execution' ] #NEWLINE# self . assertRaises ( RuntimeError , obj . prepare )