diff options
Diffstat (limited to 'tests/couch/common.py')
-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 |