summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-09-15 17:36:36 -0300
committerVictor Shyba <victor1984@riseup.net>2017-10-05 05:41:40 -0300
commit30a707786dfe9fb68855fad489817efed0d0b329 (patch)
tree8b15aff5eae7485e508d0fcab3e3d466c60a93c9 /tests
parentc442a81a451543d4cbbdee44d9711ac47cc91f56 (diff)
[feature] concurrent blob download/upload
-- Related: #8932
Diffstat (limited to 'tests')
-rw-r--r--tests/blobs/test_blob_manager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/blobs/test_blob_manager.py b/tests/blobs/test_blob_manager.py
index 7d985768..995a1989 100644
--- a/tests/blobs/test_blob_manager.py
+++ b/tests/blobs/test_blob_manager.py
@@ -19,7 +19,6 @@ Tests for BlobManager.
"""
from twisted.trial import unittest
from twisted.internet import defer
-from twisted.web.error import SchemeNotSupported
from leap.soledad.client._db.blobs import BlobManager, BlobDoc, FIXED_REV
from leap.soledad.client._db.blobs import BlobAlreadyExistsError
from leap.soledad.client._db.blobs import SyncStatus
@@ -170,7 +169,7 @@ class BlobManagerTestCase(unittest.TestCase):
with pytest.raises(Exception):
yield self.manager.put(doc1, len(content))
for _ in range(self.manager.max_retries + 1):
- with pytest.raises(SchemeNotSupported):
+ with pytest.raises(defer.FirstError):
yield self.manager.send_missing()
failed_upload = SyncStatus.FAILED_UPLOAD
local_list = yield self.manager.local_list(sync_status=failed_upload)