'When I type Markdown into the editor, it should be rendered as formatted Markdown in the preview box'

def test_markdown_rendering(self):

    self.page.set_new_post_editor_value('Some    markdown\n\n-    line    1\n-    line    2')
    self.assertEqual(self.page.get_new_post_preview_value(), '<p>Some    markdown</p>\n\n<ul>\n<li>line    1</li>\n<li>line    2</li>\n</ul>')
