#NEWLINE# def test_does_not_raise_exception_when_on_failure_is_none( self ) : #NEWLINE# #INDENT# self . conn . send_get_request . return_value = self . status_with ( { #NEWLINE# #INDENT# 'finished' : True , #NEWLINE# 'failed' : True , #NEWLINE# 'error' : 'error message' , #NEWLINE# #UNINDENT# } ) #NEWLINE# d = Decompilation ( 'ID' , d . conn ) #NEWLINE# d . wait_until_finished ( on_failure = None )