Ticket #1632: markdown-test.patch
File markdown-test.patch, 519 bytes (added by , 19 years ago) |
---|
-
tests/othertests/markup.py
46 46 47 47 t = Template("{{ markdown_content|markdown }}") 48 48 rendered = t.render(Context(locals())).strip() 49 if textile:50 assert rendered == """<p>Paragraph 1</p> <h2>An h2</h2>"""49 if markdown: 50 assert rendered == """<p>Paragraph 1</p>\n\n<h2>An h2</h2>""" 51 51 else: 52 52 assert rendered == markdown_content