diff options
| author | Thomas Grainger <tom@yplanapp.com> | 2015-11-23 10:46:19 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-05 15:51:57 -0500 |
| commit | d638cdc42acec608c1967f44af6be32a477c239f (patch) | |
| tree | 44e102c555476dae8f2f339b6fa11bb57f982386 /tests/admin_custom_urls | |
| parent | 105028eec64064c11dfd3d5415317ba1fab81214 (diff) | |
Fixed #25165 -- Removed inline JavaScript from the admin.
This allows setting a Content-Security-Policy HTTP header
(refs #15727).
Special thanks to blighj, the original author of this patch.
Diffstat (limited to 'tests/admin_custom_urls')
| -rw-r--r-- | tests/admin_custom_urls/tests.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/admin_custom_urls/tests.py b/tests/admin_custom_urls/tests.py index eff23931ef..5e9a119b6a 100644 --- a/tests/admin_custom_urls/tests.py +++ b/tests/admin_custom_urls/tests.py @@ -74,7 +74,6 @@ class AdminCustomUrlsTest(TestCase): "description": "Description of added action", } response = self.client.post(reverse('admin_custom_urls:admin_custom_urls_action_add'), post_data) - self.assertContains(response, 'dismissAddRelatedObjectPopup') self.assertContains(response, 'Action added through a popup') def test_admin_URLs_no_clash(self): |
