summaryrefslogtreecommitdiff
path: root/testing/tests/sync
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-09-22 16:12:33 -0400
committerVictor Shyba <victor1984@riseup.net>2016-11-18 15:55:52 -0300
commit53b1b37be4723b711d46f4b43bfe69dcd9b2c8ac (patch)
tree66170435e31e4d7990fe3508810495845c3a6731 /testing/tests/sync
parente47fa37fe1416c4bf148214dabc34c0e9f1bf62f (diff)
[bug] fix import
Diffstat (limited to 'testing/tests/sync')
-rw-r--r--testing/tests/sync/test_sync_target.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/sync/test_sync_target.py b/testing/tests/sync/test_sync_target.py
index b301c48b..7c93cd7c 100644
--- a/testing/tests/sync/test_sync_target.py
+++ b/testing/tests/sync/test_sync_target.py
@@ -31,10 +31,10 @@ from twisted.internet import defer
from leap.soledad.client import http_target as target
from leap.soledad.client.http_target.fetch_protocol import DocStreamReceiver
-from leap.soledad.client import crypto
from leap.soledad.client.sqlcipher import SQLCipherU1DBSync
from leap.soledad.client.sqlcipher import SQLCipherOptions
from leap.soledad.client.sqlcipher import SQLCipherDatabase
+from leap.soledad.client import _crypto
from leap.soledad.common import l2db
@@ -71,7 +71,7 @@ class TestSoledadParseReceivedDocResponse(unittest.TestCase):
doc = SoledadDocument('i', rev='r')
doc.content = {'a': 'b'}
- encrypted_docstr = crypto.SoledadCrypto('').encrypt_doc(doc)
+ encrypted_docstr = _crypto.SoledadCrypto('').encrypt_doc(doc)
with self.assertRaises(l2db.errors.BrokenSyncStream):
self.parse("[\r\n{},\r\n]")