'Preview the wiki syntax content.'

def test_preview(self):

    d = _create_document()
    response = post(self.client, 'wiki.preview', {'content': '=Test    Content=', 'slug': d.slug, 'locale': d.locale})
    eq_(200, response.status_code)
    doc = pq(response.content)
    eq_('Test    Content', doc('#doc-content    h1').text())
