diff options
author | Claude Paroz <claude@2xlibre.net> | 2022-01-21 15:46:37 +0100 |
---|---|---|
committer | Claude Paroz <claude@2xlibre.net> | 2022-01-22 16:38:14 +0100 |
commit | 7c4f3965098baad2396e24501e09237425a7bd6f (patch) | |
tree | 278ceb3d95a513df3d74941eeb46b927a04224a3 /tests/staticfiles_tests | |
parent | 9dc65263d47a5b8857492c10ce151bab83cfe672 (diff) | |
download | django-7c4f3965098baad2396e24501e09237425a7bd6f.tar.gz |
Stopped including type="text/css" attributes for CSS link tags.
Diffstat (limited to 'tests/staticfiles_tests')
-rw-r--r-- | tests/staticfiles_tests/test_forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/staticfiles_tests/test_forms.py b/tests/staticfiles_tests/test_forms.py index 1fbcbe164c..fadbe6e1d5 100644 --- a/tests/staticfiles_tests/test_forms.py +++ b/tests/staticfiles_tests/test_forms.py @@ -29,8 +29,8 @@ class StaticFilesFormsMediaTestCase(SimpleTestCase): ) self.assertEqual( str(m), - """<link href="https://example.com/assets/path/to/css1" type="text/css" media="all" rel="stylesheet"> -<link href="/path/to/css2" type="text/css" media="all" rel="stylesheet"> + """<link href="https://example.com/assets/path/to/css1" media="all" rel="stylesheet"> +<link href="/path/to/css2" media="all" rel="stylesheet"> <script src="/path/to/js1"></script> <script src="http://media.other.com/path/to/js2"></script> <script src="https://secure.other.com/path/to/js3"></script> |