#NEWLINE# def test_main( ) : #NEWLINE# #INDENT# m = Manager ( ) #NEWLINE# loader = Loader ( paths = [ dirname ( __file__ ) ] ) . register ( m ) #NEWLINE# m . start ( ) #NEWLINE# loader . load ( 'app' ) #NEWLINE# x = m . fire ( test ( ) ) #NEWLINE# assert pytest . wait_for ( x , 'result' ) #NEWLINE# s = x . value #NEWLINE# assert ( s == 'Hello World!' ) #NEWLINE# m . stop ( )