#NEWLINE# def test_process_results( self ) : #NEWLINE# #INDENT# processor_generic_exception = _instantiate ( MockResultProcessor1 ) #NEWLINE# processor_wa_error = _instantiate ( MockResultProcessor2 ) #NEWLINE# processor = _instantiate ( MockResultProcessor4 ) #NEWLINE# manager = ResultManager ( ) #NEWLINE# assert_false ( manager . processors ) #NEWLINE# manager . install ( processor_generic_exception ) #NEWLINE# manager . install ( processor_wa_error ) #NEWLINE# manager . install ( processor ) #NEWLINE# assert_equal ( len ( manager . processors ) , 3 ) #NEWLINE# manager . process_run_result ( None , None ) #NEWLINE# assert_true ( processor . is_invoked )