django-components/tests/testutils.py
2021-02-15 21:22:07 +01:00

7 lines
283 B
Python

from django.test import SimpleTestCase
class Django30CompatibleSimpleTestCase(SimpleTestCase):
def assertHTMLEqual(self, left, right):
left = left.replace(' type="text/javascript"', '')
super(Django30CompatibleSimpleTestCase, self).assertHTMLEqual(left, right)