def test_nginx_attributes(self):
        api = [
            'XAccelRedirectResponse',
            'XAccelRedirectMiddleware',
            'x_accel_redirect',
            'assert_x_accel_redirect']
        self.assert_module_attributes('django_downloadview.nginx', api)
Nginx-related API is exposed in django_downloadview.nginx.
dataset/ETHPy150Open benoitbryon/django-downloadview/tests/api.py/APITestCase.test_nginx_attributes