#NEWLINE# def test_has_failed_upload( self ) : #NEWLINE# #INDENT# addon = Addon . objects . get ( guid = self . guid ) #NEWLINE# FileUpload . objects . create ( addon = addon , version = '3.0' ) #NEWLINE# self . create_version ( '3.0' ) #NEWLINE# response = self . get ( self . url ( self . guid , '3.0' ) ) #NEWLINE# assert ( response . status_code == 200 ) #NEWLINE# assert ( 'processed' in response . data )