diff options
author | Tony Sun <tony.sun427@gmail.com> | 2017-10-26 18:13:23 -0700 |
---|---|---|
committer | Tony Sun <tony.sun427@gmail.com> | 2017-10-26 18:13:23 -0700 |
commit | f019e8ba4b992d0d5ba0b6b8c98091e97c1df61f (patch) | |
tree | 221a158e435c385eb619fd79bb4f190510fe262c | |
parent | 455c686b58d35885572c9359b68f87ef901b5e82 (diff) | |
download | couchdb-f019e8ba4b992d0d5ba0b6b8c98091e97c1df61f.tar.gz |
use string for w value
-rw-r--r-- | src/mango/test/mango.py | 2 |
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): |