#NEWLINE# def test_get_archive_generation_error_returns_none_when_succeeded( self ) : #NEWLINE# #INDENT# self . conn . send_get_request . return_value = self . status_with ( { #NEWLINE# #INDENT# 'archive' : { #NEWLINE# #INDENT# 'generated' : True , #NEWLINE# 'failed' : False , #NEWLINE# 'error' : None , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# d = Decompilation ( 'ID' , self . conn ) #NEWLINE# self . assertIsNone ( d . get_archive_generation_error ( ) )