diff options
| author | Дилян Палаузов <dilyanpalauzov@users.noreply.github.com> | 2017-11-06 22:11:39 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-11-06 22:41:03 -0500 |
| commit | 6c0042430e3618ce5c276d195d92a6b884daa3a3 (patch) | |
| tree | cc272a4d835f9ff18f25f79335d0d3190850feef /tests/staticfiles_tests | |
| parent | 5587485d49af8b32ab660854f751a234baa6610b (diff) | |
Fixed #28776 -- Fixed a/an/and typos in docs and comments.
Diffstat (limited to 'tests/staticfiles_tests')
| -rw-r--r-- | tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot | 2 | ||||
| -rw-r--r-- | tests/staticfiles_tests/test_storage.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot b/tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot index 7c58b2e622..fdd7138c52 100644 --- a/tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot +++ b/tests/staticfiles_tests/project/documents/cached/css/fonts/font.eot @@ -1 +1 @@ -not really a EOT ;)
\ No newline at end of file +not really an EOT ;)
\ No newline at end of file diff --git a/tests/staticfiles_tests/test_storage.py b/tests/staticfiles_tests/test_storage.py index 12d4c85c01..318da6a226 100644 --- a/tests/staticfiles_tests/test_storage.py +++ b/tests/staticfiles_tests/test_storage.py @@ -96,10 +96,10 @@ class TestHashedFiles: def test_path_with_querystring_and_fragment(self): relpath = self.hashed_file_path("cached/css/fragments.css") - self.assertEqual(relpath, "cached/css/fragments.c4e6753b52d3.css") + self.assertEqual(relpath, "cached/css/fragments.a60c0e74834f.css") with storage.staticfiles_storage.open(relpath) as relfile: content = relfile.read() - self.assertIn(b'fonts/font.a4b0478549d0.eot?#iefix', content) + self.assertIn(b'fonts/font.b9b105392eb8.eot?#iefix', content) self.assertIn(b'fonts/font.b8d603e42714.svg#webfontIyfZbseF', content) self.assertIn(b'fonts/font.b8d603e42714.svg#path/to/../../fonts/font.svg', content) self.assertIn(b'data:font/woff;charset=utf-8;base64,d09GRgABAAAAADJoAA0AAAAAR2QAAQAAAAAAAAAAAAA', content) |
