summaryrefslogtreecommitdiff
path: root/testing/tests/sqlcipher/test_async.py
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-05-01 18:33:03 -0300
committerVictor Shyba <victor1984@riseup.net>2017-05-01 19:11:05 -0300
commit5854faf9b6de1297d6ebdd95ef700228c7fe5fb6 (patch)
tree1cdd65adbdab7a28532650c49c211a23d216a658 /testing/tests/sqlcipher/test_async.py
parent0c22a7047553afdc1ed8a33bea17ccbe842e5e6e (diff)
parentb847d0fa65a7bd4bb8b173ef2f8610512e788129 (diff)
[refactor] merge refactor from drebs
Diffstat (limited to 'testing/tests/sqlcipher/test_async.py')
-rw-r--r--testing/tests/sqlcipher/test_async.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tests/sqlcipher/test_async.py b/testing/tests/sqlcipher/test_async.py
index 42c315fe..dac6c6b9 100644
--- a/testing/tests/sqlcipher/test_async.py
+++ b/testing/tests/sqlcipher/test_async.py
@@ -20,8 +20,8 @@ import hashlib
from twisted.internet import defer
from test_soledad.util import BaseSoledadTest
-from leap.soledad.client import adbapi
-from leap.soledad.client.sqlcipher import SQLCipherOptions
+from leap.soledad.client._database import adbapi
+from leap.soledad.client._database import sqlcipher
class ASyncSQLCipherRetryTestCase(BaseSoledadTest):
@@ -42,7 +42,7 @@ class ASyncSQLCipherRetryTestCase(BaseSoledadTest):
def _get_dbpool(self):
tmpdb = os.path.join(self.tempdir, "test.soledad")
- opts = SQLCipherOptions(tmpdb, "secret", create=True)
+ opts = sqlcipher.SQLCipherOptions(tmpdb, "secret", create=True)
return adbapi.getConnectionPool(opts)
def _get_sample(self):