Minor: Remove type attribute from right side to make usage more intuitive.

This commit is contained in:
Emil Stenström 2023-09-29 12:48:23 +02:00
parent 9797810125
commit 719637b3aa

View file

@ -17,6 +17,8 @@ class Django30CompatibleSimpleTestCase(SimpleTestCase):
def assertHTMLEqual(self, left, right):
left = left.replace(' type="text/javascript"', "")
left = left.replace(' type="text/css"', "")
right = right.replace(' type="text/javascript"', "")
right = right.replace(' type="text/css"', "")
super(Django30CompatibleSimpleTestCase, self).assertHTMLEqual(
left, right
)