def test_file_not_found_response(self):
        mixin = views.DownloadMixin()
        with self.assertRaises(Http404):
            mixin.file_not_found_response()
DownloadMixin.file_not_found_response() raises Http404.
dataset/ETHPy150Open benoitbryon/django-downloadview/tests/views.py/DownloadMixinTestCase.test_file_not_found_response