'Use max significance for determining change significance
When determining how significantly an article has changed
since translation, use the max significance of the approved
revisions, not just that of the latest ready-to-localize one.'

def test_consider_max_significance(self):

    translation = TranslatedRevisionFactory(document__locale='de', is_approved=True)
    ApprovedRevisionFactory(document=translation.document.parent, is_ready_for_localization=False, significance=MAJOR_SIGNIFICANCE)
    ApprovedRevisionFactory(document=translation.document.parent, is_ready_for_localization=True, significance=MEDIUM_SIGNIFICANCE)
    row = self.row()
    eq_(row['title'], translation.document.title)
    eq_(unicode(row['status']), 'Immediate    Update    Needed')
