def test_download_no_mappings(self):
        with Settings(settings, DEBUG=False,
                      TRANSFER_SERVER=self.transfer_server,
                      TRANSFER_MAPPINGS=Settings.Missing):
            # Without mappings, and server type nginx, we should see an
            # ImproperlyConfigured exception
            self.assertRaises(ImproperlyConfigured,
                              self.getClient().get, '/download/')
Download test case for Nginx without mappings.
dataset/ETHPy150Open smartfile/django-transfer/django_transfer/tests.py/NginxTestCase.test_download_no_mappings