'Test edit preview, edit save and messages.'

def test_preview_save(self):

    c = self.c
    example_data = {u'content': u'The    modified    text', u'current_revision': str(URLPath.root().article.current_revision.id), u'preview': u'1', u'summary': u'why    edited', u'title': u'wiki    test'}
    response = c.post(resolve_url(u'wiki:preview', path=u''), example_data)
    self.assertContains(response, u'The    modified    text')
