#NEWLINE# def test_lite_unreviewed_version( self ) : #NEWLINE# #INDENT# self . addon . is_featured . return_value = True #NEWLINE# self . addon . status = amo . STATUS_LITE #NEWLINE# self . version . is_unreviewed = True #NEWLINE# self . version . is_lite = False #NEWLINE# b = self . get_button ( ) #NEWLINE# assert ( not b . featured ) #NEWLINE# assert ( not b . lite ) #NEWLINE# assert b . unreviewed #NEWLINE# assert ( b . button_class == [ 'download' , 'caution' ] ) #NEWLINE# assert ( b . install_class == [ 'unreviewed' ] ) #NEWLINE# assert ( b . install_text == 'Not Reviewed' )