diff options
author | drebs <drebs@riseup.net> | 2017-11-09 17:53:20 -0200 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2017-11-09 17:53:20 -0200 |
commit | 102aea2f90786fbdb46d0d2e944d260fe40d8e5f (patch) | |
tree | 1f737b157e05becc29c6402056117ca7df75b74a | |
parent | 6f6f9d743f98052690fccc6c2b399a6c3c0583de (diff) |
[tests] remove revision when copying couch dbs
-rw-r--r-- | tests/couch/common.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/couch/common.py b/tests/couch/common.py index 3c272f6e..b228610d 100644 --- a/tests/couch/common.py +++ b/tests/couch/common.py @@ -58,6 +58,7 @@ def copy_couch_database_for_test(test, db): new_couch_db.put_attachment(new_doc, att, filename=att_name) elif doc_id.startswith('gen-'): + del doc['_rev'] new_couch_db.save(doc) # cleanup connections to prevent file descriptor leaking return new_db |