'Test the is_majorly_outdated method.'

def test_majorly_outdated(self):

    trans = TranslatedRevisionFactory(is_approved=True)
    trans_doc = trans.document
    assert (not trans_doc.parent.is_majorly_outdated())
    assert (not trans_doc.is_majorly_outdated())
    r = RevisionFactory(document=trans_doc.parent, significance=MAJOR_SIGNIFICANCE)
    assert (not trans_doc.is_majorly_outdated())
    r.is_approved = True
    r.is_ready_for_localization = True
    r.save()
    assert trans_doc.is_majorly_outdated()
