diff options
author | drebs <drebs@leap.se> | 2016-07-22 20:33:06 +0200 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-08-01 21:08:56 -0300 |
commit | c3e0f52080041e2a01cfa483efe73f8503a10f31 (patch) | |
tree | 08de4119fedaee6fa2e78f5357db805a16bea025 /testing/tests/couch/common.py | |
parent | 2a57f749672580591b07065adde334029ddfb460 (diff) |
[feat] remove usage of design documents in couch
Design documents are slow and we already have alternatives to all uses
we used to make of them, so this commit completelly removes all usage of
design documents.
Diffstat (limited to 'testing/tests/couch/common.py')
-rw-r--r-- | testing/tests/couch/common.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/testing/tests/couch/common.py b/testing/tests/couch/common.py index 263ac94c..45cf8d7f 100644 --- a/testing/tests/couch/common.py +++ b/testing/tests/couch/common.py @@ -41,10 +41,6 @@ def copy_couch_database_for_test(test, db): # bypass u1db_config document if doc_id == 'u1db_config': pass - # copy design docs - elif doc_id.startswith('_design'): - del doc['_rev'] - new_couch_db.save(doc) # copy u1db docs elif 'u1db_rev' in doc: new_doc = { |