Django

Code

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

File django-contrib-markup-tests.patch, 0.6 kB (added by Dirk Datzert <dummy@habmalnefrage.de>, 10 months ago)

markup docutils test fix

  • django/contrib/markup/tests.py

    old new  
    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