diff options
author | Kali Kaneko <kali@leap.se> | 2014-10-02 06:17:57 -0500 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-02-11 14:03:17 -0400 |
commit | 8f4daa13744c049dcc96eb2cb780df1e9ba08738 (patch) | |
tree | d089b48932ac99b2c2f83fd541522a6fe8056227 /common/src/leap/soledad | |
parent | e0f70a342deccbb53a6ea7215b3322388bb18461 (diff) |
Separate soledad interfaces
* Separate local storage, syncers and shared_db
* Comment out unused need_sync method
* Use twisted LoopingCall
* Create a threadpool for syncs
* Return deferred from sync method
* Do not pass crypto to SQLCipherDatabase
* Pass replica_uid to u1db_syncer
* Rename / reorganize some initialization methods
Diffstat (limited to 'common/src/leap/soledad')
-rw-r--r-- | common/src/leap/soledad/common/tests/util.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/src/leap/soledad/common/tests/util.py b/common/src/leap/soledad/common/tests/util.py index 249cbdaa..970fac82 100644 --- a/common/src/leap/soledad/common/tests/util.py +++ b/common/src/leap/soledad/common/tests/util.py @@ -47,7 +47,8 @@ PASSWORD = '123456' def make_sqlcipher_database_for_test(test, replica_uid): - db = SQLCipherDatabase(':memory:', PASSWORD) + db = SQLCipherDatabase( + SQLCipherOptions(':memory:', PASSWORD)) db._set_replica_uid(replica_uid) return db |