mirror of
https://github.com/django-components/django-components.git
synced 2025-08-31 03:07:19 +00:00
Minor: Remove type attribute from right side to make usage more intuitive.
This commit is contained in:
parent
9797810125
commit
719637b3aa
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue