'If there are only rejected revisions, return None.'

def test_only_rejected(self):

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