Ticket #18027: ticket_18027.diff

File ticket_18027.diff, 564 bytes (added by Anssi Kääriäinen, 13 years ago)
  • tests/regressiontests/test_utils/tests.py

    diff --git a/tests/regressiontests/test_utils/tests.py b/tests/regressiontests/test_utils/tests.py
    index 3afce90..2192404 100644
    a b class HTMLEqualTests(TestCase):  
    422422            self.assertHTMLEqual('', '<p>')
    423423        with self.assertRaises(HTMLParseError):
    424424            parse_html('</p>')
    425         with self.assertRaises(HTMLParseError):
    426             parse_html('<!--')
    427425
    428426    def test_contains_html(self):
    429427        response = HttpResponse('''<body>
Back to Top