summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Sun <tony.sun427@gmail.com>2017-10-26 18:13:23 -0700
committerTony Sun <tony.sun427@gmail.com>2017-10-26 18:13:23 -0700
commitf019e8ba4b992d0d5ba0b6b8c98091e97c1df61f (patch)
tree221a158e435c385eb619fd79bb4f190510fe262c
parent455c686b58d35885572c9359b68f87ef901b5e82 (diff)
downloadcouchdb-f019e8ba4b992d0d5ba0b6b8c98091e97c1df61f.tar.gz
use string for w value
-rw-r--r--src/mango/test/mango.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mango/test/mango.py b/src/mango/test/mango.py
index 27949c48d..1ed2a2c04 100644
--- a/src/mango/test/mango.py
+++ b/src/mango/test/mango.py
@@ -166,7 +166,7 @@ class Database(object):
def delete_index(self, ddocid, name, idx_type="json"):
path = ["_index", ddocid, idx_type, name]
- r = self.sess.delete(self.path(path), params={"w": 1})
+ r = self.sess.delete(self.path(path), params={"w": "1"})
r.raise_for_status()
def bulk_delete(self, docs):