def _test_not_found(self, filename):
        self.assertFalse(self.storage.exists(filename))

        with self.assertRaises(Http404):
            serve_static(self.request, filename)

        self.assertFalse(self.storage.exists(filename))
Test that a file could not be found.
dataset/ETHPy150Open jazzband/django-pipeline/tests/tests/test_views.py/ServeStaticViewsTest._test_not_found