summaryrefslogtreecommitdiff
path: root/testing/tests/couch
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/couch
parentc3e0f52080041e2a01cfa483efe73f8503a10f31 (diff)
[test] remove traces of design docs from couch tests
Diffstat (limited to 'testing/tests/couch')
-rw-r--r--testing/tests/couch/test_atomicity.py3
-rw-r--r--testing/tests/couch/test_backend.py3
2 files changed, 2 insertions, 4 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))