'Verify the request for rendering a markdown document.'

def test_markdown_raw(self):

    self.session.post.return_value = helper.mock.Mock(ok=True)
    text = 'Hello'
    raw = True
    self.instance.markdown(text=text, raw=raw)
    self.session.post.assert_called_once_with(url_for('markdown/raw'), 'Hello', headers={'content-type': 'text/plain'})
