Skip to content

Commit

Permalink
Newer Django versions do not output the redundant script type anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Sep 7, 2020
1 parent eeb12e6 commit 83c4201
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/myapp/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2389,8 +2389,7 @@ def test_changelist(self):
self.assertContains(response, 'style="text-indent:0px"', 3)
self.assertContains(
response,
'javascript" src="/static/mptt/draggable-admin.js"'
' data-context="{"',
'src="/static/mptt/draggable-admin.js" data-context="{"',
)
self.assertContains(response, '}" id="draggable-admin-context"></script>')

Expand Down

0 comments on commit 83c4201

Please sign in to comment.