'Editing an answer without permissions returns a 403.
The edit link shouldn\'t show up on the Answers page.'

def test_edit_answer_without_permission(self):

    response = get(self.client, 'questions.details', args=[self.question.id])
    doc = pq(response.content)
    eq_(0, len(doc('ol.answers    li.edit')))
    answer = self.question.last_answer
    response = get(self.client, 'questions.edit_answer', args=[self.question.id, answer.id])
    eq_(403, response.status_code)
    content = 'New    content    for    answer'
    response = post(self.client, 'questions.edit_answer', {'content': content}, args=[self.question.id, answer.id])
    eq_(403, response.status_code)
