#NEWLINE# def test_not_counting_outdated( self ) : #NEWLINE# #INDENT# 'Out-of-date translations shouldn\'t count as "done".\n\n        "Out-of-date" can mean either moderately or majorly out of date. The\n        only thing we don\'t care about is typo-level outdatedness.\n\n        ' #NEWLINE# t = TranslatedRevisionFactory ( document__locale = 'de' , is_approved = True ) #NEWLINE# overview = l10n_overview_rows ( 'de' ) #NEWLINE# eq_ ( 1 , overview [ 'top-20' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 1 , overview [ 'top-50' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 1 , overview [ 'top-100' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 1 , overview [ 'all' ] [ 'numerator' ] ) #NEWLINE# ApprovedRevisionFactory ( document = t . document . parent , significance = TYPO_SIGNIFICANCE , is_ready_for_localization = True ) #NEWLINE# overview = l10n_overview_rows ( 'de' ) #NEWLINE# eq_ ( 1 , overview [ 'top-20' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 1 , overview [ 'top-50' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 1 , overview [ 'top-100' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 1 , overview [ 'all' ] [ 'numerator' ] ) #NEWLINE# ApprovedRevisionFactory ( document = t . document . parent , significance = MEDIUM_SIGNIFICANCE , is_ready_for_localization = True ) #NEWLINE# overview = l10n_overview_rows ( 'de' ) #NEWLINE# eq_ ( 0 , overview [ 'all' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 0 , overview [ 'top-20' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 0 , overview [ 'top-50' ] [ 'numerator' ] ) #NEWLINE# eq_ ( 0 , overview [ 'top-100' ] [ 'numerator' ] )