Ticket #5362: django-contrib-markup-tests.patch

File django-contrib-markup-tests.patch, 629 bytes (added by Dirk Datzert <dummy@…>, 8 years ago)

markup docutils test fix

  • django/contrib/markup/tests.py

     
    6060        rendered = t.render(Context(locals())).strip()
    6161        if docutils:
    6262            self.assertEqual(rendered, """<p>Paragraph 1</p>
    63 <p>Paragraph 2 with a <a class="reference" href="http://www.example.com/">link</a></p>""")
     63<p>Paragraph 2 with a <a class="reference external" href="http://www.example.com/">link</a></p>""")
    6464        else:
    6565            self.assertEqual(rendered, rest_content)
    6666
Back to Top