summaryrefslogtreecommitdiff
path: root/common/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/src')
-rw-r--r--common/src/leap/soledad/common/tests/test_couch_operations_atomicity.py3
-rw-r--r--common/src/leap/soledad/common/tests/test_server.py6
-rw-r--r--common/src/leap/soledad/common/tests/test_sync.py3
-rw-r--r--common/src/leap/soledad/common/tests/test_sync_deferred.py3
-rw-r--r--common/src/leap/soledad/common/tests/test_sync_target.py3
-rw-r--r--common/src/leap/soledad/common/tests/util.py3
6 files changed, 7 insertions, 14 deletions
diff --git a/common/src/leap/soledad/common/tests/test_couch_operations_atomicity.py b/common/src/leap/soledad/common/tests/test_couch_operations_atomicity.py
index 83cee469..3de4da1c 100644
--- a/common/src/leap/soledad/common/tests/test_couch_operations_atomicity.py
+++ b/common/src/leap/soledad/common/tests/test_couch_operations_atomicity.py
@@ -81,8 +81,7 @@ class CouchAtomicityTestCase(CouchDBTestCase, TestCaseWithServer):
shared_db=self.get_default_shared_mock(_put_doc_side_effect))
def make_app(self):
- self.request_state = CouchServerState(self._couch_url, 'shared',
- 'tokens')
+ self.request_state = CouchServerState(self._couch_url)
return self.make_app_after_state(self.request_state)
def setUp(self):
diff --git a/common/src/leap/soledad/common/tests/test_server.py b/common/src/leap/soledad/common/tests/test_server.py
index 836bd74a..2b653a1c 100644
--- a/common/src/leap/soledad/common/tests/test_server.py
+++ b/common/src/leap/soledad/common/tests/test_server.py
@@ -319,8 +319,7 @@ class EncryptedSyncTestCase(
shared_db=self.get_default_shared_mock(_put_doc_side_effect))
def make_app(self):
- self.request_state = CouchServerState(self._couch_url, 'shared',
- 'tokens')
+ self.request_state = CouchServerState(self._couch_url)
return self.make_app_with_state(self.request_state)
def setUp(self):
@@ -493,8 +492,7 @@ class LockResourceTestCase(
urljoin(self._couch_url, 'tokens'),
create=True,
ensure_ddocs=True)
- self._state = CouchServerState(
- self._couch_url, 'shared', 'tokens')
+ self._state = CouchServerState(self._couch_url)
def tearDown(self):
# delete remote database
diff --git a/common/src/leap/soledad/common/tests/test_sync.py b/common/src/leap/soledad/common/tests/test_sync.py
index 893df56b..92c601dc 100644
--- a/common/src/leap/soledad/common/tests/test_sync.py
+++ b/common/src/leap/soledad/common/tests/test_sync.py
@@ -58,8 +58,7 @@ class InterruptableSyncTestCase(
sync_target = token_soledad_sync_target
def make_app(self):
- self.request_state = couch.CouchServerState(
- self._couch_url, 'shared', 'tokens')
+ self.request_state = couch.CouchServerState(self._couch_url)
return self.make_app_with_state(self.request_state)
def setUp(self):
diff --git a/common/src/leap/soledad/common/tests/test_sync_deferred.py b/common/src/leap/soledad/common/tests/test_sync_deferred.py
index 26889aff..010f5492 100644
--- a/common/src/leap/soledad/common/tests/test_sync_deferred.py
+++ b/common/src/leap/soledad/common/tests/test_sync_deferred.py
@@ -127,8 +127,7 @@ class TestSoledadDbSyncDeferredEncDecr(
token = True
def make_app(self):
- self.request_state = couch.CouchServerState(
- self._couch_url, 'shared', 'tokens')
+ self.request_state = couch.CouchServerState(self._couch_url)
return self.make_app_with_state(self.request_state)
def setUp(self):
diff --git a/common/src/leap/soledad/common/tests/test_sync_target.py b/common/src/leap/soledad/common/tests/test_sync_target.py
index 3792159a..941dc37c 100644
--- a/common/src/leap/soledad/common/tests/test_sync_target.py
+++ b/common/src/leap/soledad/common/tests/test_sync_target.py
@@ -470,8 +470,7 @@ class TestSoledadDbSync(
def make_app(self):
- self.request_state = couch.CouchServerState(
- self._couch_url, 'shared', 'tokens')
+ self.request_state = couch.CouchServerState(self._couch_url)
return self.make_app_with_state(self.request_state)
def setUp(self):
diff --git a/common/src/leap/soledad/common/tests/util.py b/common/src/leap/soledad/common/tests/util.py
index 833d954e..75379fdc 100644
--- a/common/src/leap/soledad/common/tests/util.py
+++ b/common/src/leap/soledad/common/tests/util.py
@@ -459,6 +459,5 @@ class SoledadWithCouchServerMixin(
def make_app(self):
couch_url = urljoin(
'http://localhost:' + str(self.wrapper.port), 'tests')
- self.request_state = CouchServerStateForTests(
- couch_url, 'shared', 'tokens')
+ self.request_state = CouchServerStateForTests(couch_url)
return self.make_app_with_state(self.request_state)