'Posting a short answer shows error.'

def test_short_answer(self):

    response = post(self.client, 'questions.reply', {'content': 'lor'}, args=[self.question.id])
    doc = pq(response.content)
    error_msg = doc('ul.errorlist    li    a')[0]
    eq_(error_msg.text, ('Your    content    is    too    short    (3    characters).    ' + 'It    must    be    at    least    5    characters.'))
