diff --git a/tests/regressiontests/staticfiles_tests/project/documents/cached/absolute.css b/tests/regressiontests/staticfiles_tests/project/documents/cached/absolute.css
index e64e7cc..54467a3 100644
a
|
b
|
|
1 | 1 | @import url("/static/cached/styles.css"); |
| 2 | body { |
| 3 | background: #d3d6d8 url(/static/cached/img/relative.png); |
| 4 | } |
| 5 | No newline at end of file |
diff --git a/tests/regressiontests/staticfiles_tests/tests.py b/tests/regressiontests/staticfiles_tests/tests.py
index 9834885..5aa0f19 100644
a
|
b
|
class TestCollectionCachedStorage(BaseCollectionTestCase,
|
361 | 361 | |
362 | 362 | def test_template_tag_absolute(self): |
363 | 363 | relpath = self.cached_file_path("cached/absolute.css") |
364 | | self.assertEqual(relpath, "cached/absolute.cc80cb5e2eb1.css") |
| 364 | self.assertEqual(relpath, "cached/absolute.23f087ad823a.css") |
365 | 365 | with storage.staticfiles_storage.open(relpath) as relfile: |
366 | 366 | content = relfile.read() |
367 | 367 | self.assertNotIn("/static/cached/styles.css", content) |
368 | 368 | self.assertIn("/static/cached/styles.93b1147e8552.css", content) |
| 369 | self.assertIn('url("/static/cached/img/relative.acae32e4532b.png")', content) |
369 | 370 | |
370 | 371 | def test_template_tag_denorm(self): |
371 | 372 | relpath = self.cached_file_path("cached/denorm.css") |