summaryrefslogtreecommitdiff
path: root/testing/tests
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-07-23 17:11:53 +0200
committerdrebs <drebs@leap.se>2016-08-01 21:09:02 -0300
commitc7b464077215425759ab402fb2314f4e8f9acd7e (patch)
treeac727c97e4341e9cabe83183684363b2cdc026d5 /testing/tests
parentc3e0f52080041e2a01cfa483efe73f8503a10f31 (diff)
[test] remove traces of design docs from couch tests
Diffstat (limited to 'testing/tests')
-rw-r--r--testing/tests/couch/test_atomicity.py3
-rw-r--r--testing/tests/couch/test_backend.py3
-rw-r--r--testing/tests/server/test_server.py3
-rw-r--r--testing/tests/sync/test_sync.py3
-rw-r--r--testing/tests/sync/test_sync_mutex.py3
5 files changed, 5 insertions, 10 deletions
diff --git a/testing/tests/couch/test_atomicity.py b/testing/tests/couch/test_atomicity.py
index aec9c6cf..3badfb19 100644
--- a/testing/tests/couch/test_atomicity.py
+++ b/testing/tests/couch/test_atomicity.py
@@ -90,8 +90,7 @@ class CouchAtomicityTestCase(CouchDBTestCase, TestCaseWithServer):
self.db = CouchDatabase.open_database(
urljoin(self.couch_url, 'user-' + self.user),
create=True,
- replica_uid='replica',
- ensure_ddocs=True)
+ replica_uid='replica')
self.tempdir = tempfile.mkdtemp(prefix="leap_tests-")
self.startTwistedServer()
diff --git a/testing/tests/couch/test_backend.py b/testing/tests/couch/test_backend.py
index f178e8a5..c399338e 100644
--- a/testing/tests/couch/test_backend.py
+++ b/testing/tests/couch/test_backend.py
@@ -43,8 +43,7 @@ class TestCouchBackendImpl(CouchDBTestCase):
'http://localhost:' + str(self.couch_port),
('test-%s' % uuid4().hex)
),
- create=True,
- ensure_ddocs=True)
+ create=True)
doc_id1 = db._allocate_doc_id()
self.assertTrue(doc_id1.startswith('D-'))
self.assertEqual(34, len(doc_id1))
diff --git a/testing/tests/server/test_server.py b/testing/tests/server/test_server.py
index b99d1939..49d25ed0 100644
--- a/testing/tests/server/test_server.py
+++ b/testing/tests/server/test_server.py
@@ -391,8 +391,7 @@ class EncryptedSyncTestCase(
# ensure remote db exists before syncing
db = CouchDatabase.open_database(
urljoin(self.couch_url, 'user-' + user),
- create=True,
- ensure_ddocs=True)
+ create=True)
def _db1AssertEmptyDocList(results):
_, doclist = results
diff --git a/testing/tests/sync/test_sync.py b/testing/tests/sync/test_sync.py
index 095884ce..5540b7cb 100644
--- a/testing/tests/sync/test_sync.py
+++ b/testing/tests/sync/test_sync.py
@@ -101,8 +101,7 @@ class InterruptableSyncTestCase(
# ensure remote db exists before syncing
db = couch.CouchDatabase.open_database(
urljoin(self.couch_url, 'user-user-uuid'),
- create=True,
- ensure_ddocs=True)
+ create=True)
# create interruptor thread
t = _SyncInterruptor(sol, db)
diff --git a/testing/tests/sync/test_sync_mutex.py b/testing/tests/sync/test_sync_mutex.py
index 787cfee8..261c6485 100644
--- a/testing/tests/sync/test_sync_mutex.py
+++ b/testing/tests/sync/test_sync_mutex.py
@@ -105,8 +105,7 @@ class TestSyncMutex(
# ensure remote db exists before syncing
db = CouchDatabase.open_database(
urljoin(self.couch_url, 'user-' + self.user),
- create=True,
- ensure_ddocs=True)
+ create=True)
sol = self._soledad_instance(
user=self.user, server_url=self.getURL())