~ubuntu-branches/ubuntu/quantal/python-django/quantal-security

« back to all changes in this revision

Viewing changes to django/contrib/markup/tests.py

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-10-12 11:34:35 UTC
  • mfrom: (1.2.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 30.
  • Revision ID: james.westby@ubuntu.com-20101012113435-9lnsrh0i3mxozbt0
Tags: upstream-1.2.3
ImportĀ upstreamĀ versionĀ 1.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        t = Template("{{ textile_content|textile }}")
23
23
        rendered = t.render(Context(locals())).strip()
24
24
        if textile:
25
 
            self.assertEqual(rendered, """<p>Paragraph 1</p>
 
25
            self.assertEqual(rendered.replace('\t', ''), """<p>Paragraph 1</p>
26
26
 
27
27
<p>Paragraph 2 with &#8220;quotes&#8221; and <code>code</code></p>""")
28
28
        else: