'No voting on is_archived documents.'

def test_obsolete_no_vote(self):

    d = DocumentFactory(is_archived=True)
    RevisionFactory(document=d, is_approved=True)
    response = self.client.get(d.get_absolute_url())
    eq_(200, response.status_code)
    doc = pq(response.content)
    assert (not doc('.document-vote'))
