def test_get_file_ok(self):
        view = setup_view(views.ObjectDownloadView(), 'fake request')
        view.object = mock.Mock(spec=['file'])
        view.get_file()
ObjectDownloadView.get_file() returns ``file`` field by default.
dataset/ETHPy150Open benoitbryon/django-downloadview/tests/views.py/ObjectDownloadViewTestCase.test_get_file_ok