def test_transfer_returns_boolean(self):
        storage = QueuedStorage(
            local='django.core.files.storage.FileSystemStorage',
            remote='django.core.files.storage.FileSystemStorage',
            local_options=dict(location=self.local_dir),
            remote_options=dict(location=self.remote_dir),
            task='tests.tasks.NoneReturningTask')

        field = models.TestModel._meta.get_field('testfile')
        field.storage = storage

        obj = models.TestModel(testfile=File(self.test_file))
        obj.save()

        self.assertRaises(ValueError,
                          obj.testfile.storage.result.get, propagate=True)
Make sure an exception is thrown when the transfer task does not return
dataset/ETHPy150Open jazzband/django-queued-storage/tests/test_storages.py/StorageTests.test_transfer_returns_boolean