summaryrefslogtreecommitdiff
path: root/testing/tests
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-09-22 16:12:33 -0400
committerdrebs <drebs@leap.se>2016-12-12 09:12:00 -0200
commit40742021a8beeb68b159456b423e4c3674f7926d (patch)
tree7b2ebb832c94261874837fead316ec0c0f3d6e1f /testing/tests
parentfae45ba56d35c2bf7b8f00f2cfe5c423718bf12e (diff)
[bug] fix import
Diffstat (limited to 'testing/tests')
-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]")