diff options
author | Victor Shyba <victor1984@riseup.net> | 2017-05-08 05:56:20 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-05-08 05:56:20 -0300 |
commit | 3ff522b687dcccd1ada5da5aba526057befec007 (patch) | |
tree | 4f3c9e2d2f4744cfeed4e82d780577bac79e4293 /testing/tests/sqlcipher | |
parent | ac0e01ccf4a7d372cddea03ae1982a01e28b9cd0 (diff) |
[refactor] _database -> _db
Diffstat (limited to 'testing/tests/sqlcipher')
-rw-r--r-- | testing/tests/sqlcipher/test_async.py | 4 | ||||
-rw-r--r-- | testing/tests/sqlcipher/test_backend.py | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/testing/tests/sqlcipher/test_async.py b/testing/tests/sqlcipher/test_async.py index dac6c6b9..5c220cc4 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._database import adbapi -from leap.soledad.client._database import sqlcipher +from leap.soledad.client._db import adbapi +from leap.soledad.client._db import sqlcipher class ASyncSQLCipherRetryTestCase(BaseSoledadTest): diff --git a/testing/tests/sqlcipher/test_backend.py b/testing/tests/sqlcipher/test_backend.py index 4f614fb3..68f8f9f2 100644 --- a/testing/tests/sqlcipher/test_backend.py +++ b/testing/tests/sqlcipher/test_backend.py @@ -29,10 +29,10 @@ from leap.soledad.common.l2db import query_parser # soledad stuff. from leap.soledad.common.document import SoledadDocument -from leap.soledad.client._database.sqlite import SQLitePartialExpandDatabase -from leap.soledad.client._database.sqlcipher import SQLCipherDatabase -from leap.soledad.client._database.sqlcipher import SQLCipherOptions -from leap.soledad.client._database.sqlcipher import DatabaseIsNotEncrypted +from leap.soledad.client._db.sqlite import SQLitePartialExpandDatabase +from leap.soledad.client._db.sqlcipher import SQLCipherDatabase +from leap.soledad.client._db.sqlcipher import SQLCipherOptions +from leap.soledad.client._db.sqlcipher import DatabaseIsNotEncrypted # u1db tests stuff. from test_soledad import u1db_tests as tests |