'Don\'t show articles with unreviewed or rejected revs after latest'

def test_unapproved_revs(self):

    d = DocumentFactory()
    RevisionFactory(document=d, is_approved=True, is_ready_for_localization=True)
    RevisionFactory(document=d, is_approved=False, reviewed=None, is_ready_for_localization=False)
    RevisionFactory(document=d, is_approved=False, reviewed=datetime.now(), is_ready_for_localization=False)
    eq_([], self.titles())
