'Posting an empty reply shows errors.'

def test_empty_reply_errors(self):

    u = UserFactory()
    t = ThreadFactory()
    self.client.login(username=u.username, password='testpass')
    response = post(self.client, 'forums.reply', {'content': ''}, args=[t.forum.slug, t.id])
    doc = pq(response.content)
    error_msg = doc('ul.errorlist    li    a')[0]
    eq_(error_msg.text, 'Please    provide    a    message.')
