#NEWLINE# def test_get_total( self ) : #NEWLINE# #INDENT# user2 = UserProfile . objects . get ( email = 'admin@mozilla.com' ) #NEWLINE# self . _give_points ( ) #NEWLINE# self . _give_points ( status = amo . STATUS_LITE ) #NEWLINE# self . _give_points ( user = user2 , status = amo . STATUS_NOMINATED ) #NEWLINE# assert ( ReviewerScore . get_total ( self . user ) == ( amo . REVIEWED_SCORES [ amo . REVIEWED_ADDON_FULL ] + amo . REVIEWED_SCORES [ amo . REVIEWED_ADDON_PRELIM ] ) ) #NEWLINE# assert ( ReviewerScore . get_total ( user2 ) == amo . REVIEWED_SCORES [ amo . REVIEWED_ADDON_FULL ] )