              self.assertNotIn(b"cached/other.css", content)
              self.assertIn(b"other.d41d8cd98f00.css", content)
  
      def test_path_with_querystring_and_fragment(self):
          relpath = self.cached_file_path("cached/css/fragments.css")
          self.assertEqual(relpath, "cached/css/fragments.75433540b096.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.b8d603e42714.svg#webfontIyfZbseF', content)
 
</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/styles.css#eggs")
 </s> add         relpath = self.hashed_file_path("cached/styles.css#eggs") </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_insensitive.css")
 </s> add         relpath = self.hashed_file_path("cached/styles_insensitive.css") </s> remove         relpath = self.cached_file_path("cached/styles.css")
 </s> add         relpath = self.hashed_file_path("cached/styles.css")
        relpath = self.hashed_file_path("cached/css/fragments.css")
              self.assertNotIn(b"cached/other.css", content)
              self.assertIn(b"other.d41d8cd98f00.css", content)
  
      def test_path_with_querystring_and_fragment(self):
        relpath = self.hashed_file_path("cached/css/fragments.css")
          self.assertEqual(relpath, "cached/css/fragments.75433540b096.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.b8d603e42714.svg#webfontIyfZbseF', 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