#NEWLINE# def test_javascript_magic( ) : #NEWLINE# #INDENT# kernel = get_kernel ( EvalKernel ) #NEWLINE# kernel . do_execute ( '%%javascript\n\nconsole.log("Hello from Javascript");\n' ) #NEWLINE# text = get_log_text ( kernel ) #NEWLINE# assert ( 'Display Data' in text ) , text