From 102aea2f90786fbdb46d0d2e944d260fe40d8e5f Mon Sep 17 00:00:00 2001 From: drebs Date: Thu, 9 Nov 2017 17:53:20 -0200 Subject: [tests] remove revision when copying couch dbs --- tests/couch/common.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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 -- cgit v1.2.3