'Preview a reply.'

def test_preview_reply(self):

    t = ThreadFactory()
    u = t.creator
    content = 'Full    of    awesome.'
    self.client.login(username=u.username, password='testpass')
    response = post(self.client, 'forums.reply', {'content': content, 'preview': 'any    string'}, args=[t.forum.slug, t.id])
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_(content, doc('#post-preview    div.content').text())
    eq_(1, t.post_set.count())
