summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/tests/test_sync_mutex.py
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-10-01 15:07:25 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-11-03 12:20:03 -0300
commitb0557f9c1d5e6f153f926ba3cb5876453ef23a10 (patch)
tree9179ce7f57e4298fe517606d0368b0e9f53ed30a /common/src/leap/soledad/common/tests/test_sync_mutex.py
parent983644df965b391527fce51bda6f6b1f4b29c2ac (diff)
[refactor] separate SoledadBackend from CouchDatabase
CouchDatabase was renamed to SoledadBackend and a new class CouchDatabase was created to hold all couchdb code. This should make SoledadBackend less tied to database implementation. A few more separations are needed to split into modules.
Diffstat (limited to 'common/src/leap/soledad/common/tests/test_sync_mutex.py')
-rw-r--r--common/src/leap/soledad/common/tests/test_sync_mutex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/leap/soledad/common/tests/test_sync_mutex.py b/common/src/leap/soledad/common/tests/test_sync_mutex.py
index 2e2123a7..35cecb8f 100644
--- a/common/src/leap/soledad/common/tests/test_sync_mutex.py
+++ b/common/src/leap/soledad/common/tests/test_sync_mutex.py
@@ -102,7 +102,7 @@ class TestSyncMutex(
self.startServer()
# ensure remote db exists before syncing
- db = couch.CouchDatabase.open_database(
+ db = couch.SoledadBackend.open_database(
urljoin(self.couch_url, 'user-' + self.user),
create=True,
ensure_ddocs=True)