diff options
author | Tony Sun <tony.sun427@gmail.com> | 2017-10-26 18:13:23 -0700 |
---|---|---|
committer | Joan Touzet <wohali@users.noreply.github.com> | 2017-10-31 22:52:10 -0400 |
commit | ab174091ae7e0c4a91174af3eed26a23b47e07ca (patch) | |
tree | aaf64bd4ee40fc95b4802465274fb1e293cf179d | |
parent | ace7121f348a33b1593c7a1921f9ea74b1d8231e (diff) | |
download | couchdb-ab174091ae7e0c4a91174af3eed26a23b47e07ca.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): |