              self.assertNotIn(b'url(img/window.png)', content)
              self.assertIn(b'url("img/window.acae32e4532b.png")', content)
  
      def test_template_tag_url(self):
          relpath = self.cached_file_path("cached/url.css")
          self.assertEqual(relpath, "cached/url.615e21601e4b.css")
          with storage.staticfiles_storage.open(relpath) as relfile:
              self.assertIn(b"https://", relfile.read())
  
      def test_cache_invalidation(self):
 
</s> remove         relpath = self.cached_file_path("cached/css/window.css")
 </s> add         relpath = self.hashed_file_path("cached/css/window.css") </s> remove     def test_cache_invalidation(self):
        name = "cached/styles.css"
        hashed_name = "cached/styles.93b1147e8552.css"
        # check if the cache is filled correctly as expected
        cache_key = storage.staticfiles_storage.cache_key(name)
        cached_name = storage.staticfiles_storage.cache.get(cache_key)
        self.assertEqual(self.cached_file_path(name), cached_name)
        # clearing the cache to make sure we re-set it correctly in the url method
        storage.staticfiles_storage.cache.clear()
        cached_name = storage.staticfiles_storage.cache.get(cache_key)
        self.assertEqual(cached_name, None)
        self.assertEqual(self.cached_file_path(name), hashed_name)
        cached_name = storage.staticfiles_storage.cache.get(cache_key)
        self.assertEqual(cached_name, hashed_name)

 </s> add  </s> remove         relpath = self.cached_file_path("cached/import.css")
 </s> add         relpath = self.hashed_file_path("cached/import.css") </s> remove         relpath = self.cached_file_path("cached/absolute.css")
 </s> add         relpath = self.hashed_file_path("cached/absolute.css") </s> remove         relpath = self.cached_file_path("cached/css/ignored.css")
 </s> add         relpath = self.hashed_file_path("cached/css/ignored.css")
        relpath = self.hashed_file_path("cached/url.css")
              self.assertNotIn(b'url(img/window.png)', content)
              self.assertIn(b'url("img/window.acae32e4532b.png")', content)
  
      def test_template_tag_url(self):
        relpath = self.hashed_file_path("cached/url.css")
          self.assertEqual(relpath, "cached/url.615e21601e4b.css")
          with storage.staticfiles_storage.open(relpath) as relfile:
              self.assertIn(b"https://", relfile.read())
  
      def test_cache_invalidation(self):
keep keep keep keep replace keep keep keep keep keep
 Added ManifestStaticFilesStorage to staticfiles contrib app.

It uses a static manifest file that is created when running
collectstatic in the JSON format. 
tests/staticfiles_tests/tests.py