Fixed #1632 -- Fixed typo in markup unit tests. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
d4c38fa8f7
commit
5bb59acfde
|
@ -46,7 +46,7 @@ markdown_content = """Paragraph 1
|
||||||
|
|
||||||
t = Template("{{ markdown_content|markdown }}")
|
t = Template("{{ markdown_content|markdown }}")
|
||||||
rendered = t.render(Context(locals())).strip()
|
rendered = t.render(Context(locals())).strip()
|
||||||
if textile:
|
if markdown:
|
||||||
assert rendered == """<p>Paragraph 1</p><h2>An h2</h2>"""
|
assert rendered == """<p>Paragraph 1</p><h2>An h2</h2>"""
|
||||||
else:
|
else:
|
||||||
assert rendered == markdown_content
|
assert rendered == markdown_content
|
||||||
|
|
Loading…
Reference in New Issue