def test_not_modified_response(self):
        mixin = views.DownloadMixin()
        response = mixin.not_modified_response()
        self.assertTrue(isinstance(response, HttpResponseNotModified))
DownloadMixin.not_modified_response returns HttpResponseNotModified.
dataset/ETHPy150Open benoitbryon/django-downloadview/tests/views.py/DownloadMixinTestCase.test_not_modified_response