'Return the latest rejected revision when no ready or unreviewed ones
exist, if include_rejected=True.'

def test_latest_rejected_if_none_unreviewed(self):

    rejected = RevisionFactory(is_approved=False, reviewed=datetime.now())
    eq_(rejected, rejected.document.localizable_or_latest_revision(include_rejected=True))
