'Posting an empty answer shows error.'

def test_empty_answer(self):

    response = post(self.client, 'questions.reply', {'content': ''}, args=[self.question.id])
    doc = pq(response.content)
    error_msg = doc('ul.errorlist    li    a')[0]
    eq_(error_msg.text, 'Please    provide    content.')
