#NEWLINE# def test_consider_max_significance( self ) : #NEWLINE# #INDENT# 'Use max significance for determining change significance\n\n        When determining how significantly an article has changed\n        since translation, use the max significance of the approved\n        revisions, not just that of the latest ready-to-localize one.\n        ' #NEWLINE# translation = TranslatedRevisionFactory ( document__locale = 'de' , is_approved = True ) #NEWLINE# ApprovedRevisionFactory ( document = translation . document . parent , is_ready_for_localization = False , significance = MAJOR_SIGNIFICANCE ) #NEWLINE# ApprovedRevisionFactory ( document = translation . document . parent , is_ready_for_localization = True , significance = MEDIUM_SIGNIFICANCE ) #NEWLINE# row = self . row ( ) #NEWLINE# eq_ ( row [ 'title' ] , translation . document . title ) #NEWLINE# eq_ ( unicode ( self [ 'status' ] ) , 'Immediate Update Needed' )