def test_download(self):
        with Settings(settings, DEBUG=False, TRANSFER_SERVER=Settings.Missing):
            r = self.getClient().get('/download/')
        # Ensure we receive the file content
        self.assertEqual(int(get_content(r)), os.getpid())
Download test case when disabled.
dataset/ETHPy150Open smartfile/django-transfer/django_transfer/tests.py/NoneServerTestCase.test_download