mirror of
https://github.com/django-components/django-components.git
synced 2025-08-30 10:47:20 +00:00
This is a difference between Django 3.0 and 3.1.
This commit is contained in:
parent
f188fab540
commit
26f39c73f3
5 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
from django.test import SimpleTestCase
|
||||
|
||||
|
||||
class Django111CompatibleSimpleTestCase(SimpleTestCase):
|
||||
class Django30CompatibleSimpleTestCase(SimpleTestCase):
|
||||
def assertHTMLEqual(self, left, right):
|
||||
left = left.replace(' type="text/javascript"', '')
|
||||
super(Django111CompatibleSimpleTestCase, self).assertHTMLEqual(left, right)
|
||||
super(Django30CompatibleSimpleTestCase, self).assertHTMLEqual(left, right)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue