          cache_validator.validate_key(cache_key)
          self.assertEqual(cache_key, 'staticfiles:821ea71ef36f95b3922a77f7364670e7')
  
      def test_css_import_case_insensitive(self):
          relpath = self.cached_file_path("cached/styles_insensitive.css")
          self.assertEqual(relpath, "cached/styles_insensitive.2f0151cca872.css")
          with storage.staticfiles_storage.open(relpath) as relfile:
              content = relfile.read()
              self.assertNotIn(b"cached/other.css", content)
              self.assertIn(b"other.d41d8cd98f00.css", content)
 
</s> remove     def test_cache_key_memcache_validation(self):
        """
        Handle cache key creation correctly, see #17861.
        """
        name = "/some crazy/long filename/ with spaces Here and ?#%#$/other/stuff/some crazy/long filename/ with spaces Here and ?#%#$/other/stuff/some crazy/long filename/ with spaces Here and ?#%#$/other/stuff/some crazy/long filename/ with spaces Here and ?#%#$/other/stuff/some crazy/long filename/ with spaces Here and ?#%#$/other/stuff/some crazy/" + "\x16" + "\xb4"
        cache_key = storage.staticfiles_storage.cache_key(name)
        cache_validator = BaseCache({})
        cache_validator.validate_key(cache_key)
        self.assertEqual(cache_key, 'staticfiles:821ea71ef36f95b3922a77f7364670e7')

 </s> add  </s> remove         relpath = self.cached_file_path("cached/css/ignored.css")
 </s> add         relpath = self.hashed_file_path("cached/css/ignored.css") </s> remove         relpath = self.cached_file_path("cached/css/fragments.css")
 </s> add         relpath = self.hashed_file_path("cached/css/fragments.css") </s> remove         relpath = self.cached_file_path("cached/styles.css")
 </s> add         relpath = self.hashed_file_path("cached/styles.css") </s> remove         relpath = self.cached_file_path("cached/styles.css#eggs")
 </s> add         relpath = self.hashed_file_path("cached/styles.css#eggs")
        relpath = self.hashed_file_path("cached/styles_insensitive.css")
          cache_validator.validate_key(cache_key)
          self.assertEqual(cache_key, 'staticfiles:821ea71ef36f95b3922a77f7364670e7')
  
      def test_css_import_case_insensitive(self):
        relpath = self.hashed_file_path("cached/styles_insensitive.css")
          self.assertEqual(relpath, "cached/styles_insensitive.2f0151cca872.css")
          with storage.staticfiles_storage.open(relpath) as relfile:
              content = relfile.read()
              self.assertNotIn(b"cached/other.css", content)
              self.assertIn(b"other.d41d8cd98f00.css", content)
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