summaryrefslogtreecommitdiff
path: root/testing/tests/couch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/couch')
-rw-r--r--testing/tests/couch/test_state.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/tests/couch/test_state.py b/testing/tests/couch/test_state.py
index a53ba076..e293b5b8 100644
--- a/testing/tests/couch/test_state.py
+++ b/testing/tests/couch/test_state.py
@@ -14,10 +14,12 @@ def test_wrong_couch_version_raises(db):
db.database.create(
{'_id': CONFIG_DOC_ID, SCHEMA_VERSION_KEY: wrong_schema_version})
with pytest.raises(WrongCouchSchemaVersionError):
- CouchServerState(db.couch_url, create_cmd='/bin/echo')
+ CouchServerState(db.couch_url, create_cmd='/bin/echo',
+ check_schema_versions=True)
def test_missing_config_doc_raises(db):
db.database.create({})
with pytest.raises(MissingCouchConfigDocumentError):
- CouchServerState(db.couch_url, create_cmd='/bin/echo')
+ CouchServerState(db.couch_url, create_cmd='/bin/echo',
+ check_schema_versions=True)