#NEWLINE# def test_no_app( self ) : #NEWLINE# #INDENT# form = ReviewForm ( { #NEWLINE# #INDENT# 'addon_files' : [ form . file . pk ] , #NEWLINE# #UNINDENT# } , helper = ReviewHelper ( request = self . request , addon = self . addon , version = self . version ) ) #NEWLINE# choices = form . fields [ 'canned_response' ] . choices [ 1 ] [ 1 ] #NEWLINE# assert ( len ( choices ) == 1 ) #NEWLINE# assert ( self . cr_addon . response in choices [ 0 ] ) #NEWLINE# assert ( self . cr_app . response not in choices [ 0 ] )