def test_root_attributes(self):
        api = [
            # Views:
            'ObjectDownloadView',
            'StorageDownloadView',
            'PathDownloadView',
            'HTTPDownloadView',
            'VirtualDownloadView',
            'BaseDownloadView',
            'DownloadMixin',
            # File wrappers:
            'StorageFile',
            'HTTPFile',
            'VirtualFile',
            # Responses:
            'DownloadResponse',
            'ProxiedDownloadResponse',
            # Middlewares:
            'BaseDownloadMiddleware',
            'DownloadDispatcherMiddleware',
            'SmartDownloadMiddleware',
            # Testing:
            'assert_download_response',
            'setup_view',
            'temporary_media_root',
            # Utilities:
            'StringIteratorIO',
            'sendfile']
        self.assert_module_attributes('django_downloadview', api)
API is exposed in django_downloadview root package.
dataset/ETHPy150Open benoitbryon/django-downloadview/tests/api.py/APITestCase.test_root_attributes