diff options
author | iilyak <iilyak@users.noreply.github.com> | 2020-11-17 10:34:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-17 10:34:27 -0800 |
commit | 0b98b3be0609d47bc504f4c8a4ff713d1d078d6c (patch) | |
tree | 64ebcea7c463cc9ca7976f4846ba7d6588060349 | |
parent | 8c21567fa277fec3a88a73d49551bd70b11dafc3 (diff) | |
parent | edd320e8a577dd579cb8bc1ac6985781f9968dee (diff) | |
download | couchdb-0b98b3be0609d47bc504f4c8a4ff713d1d078d6c.tar.gz |
Merge pull request #3274 from cloudant/fix-mango-tests
Fix mango tests
-rw-r--r-- | src/mango/test/06-basic-text-test.py | 4 | ||||
-rw-r--r-- | src/mango/test/mango.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mango/test/06-basic-text-test.py b/src/mango/test/06-basic-text-test.py index a3fe383d6..1449ec82d 100644 --- a/src/mango/test/06-basic-text-test.py +++ b/src/mango/test/06-basic-text-test.py @@ -21,6 +21,10 @@ import hypothesis.strategies as st @unittest.skipIf(mango.has_text_service(), "text service exists") class TextIndexCheckTests(mango.DbPerClass): + @classmethod + def setUpClass(klass): + raise unittest.SkipTest("Re-enable once search is implemented") + def test_create_text_index(self): body = json.dumps({"index": {}, "type": "text"}) resp = self.db.sess.post(self.db.path("_index"), data=body) diff --git a/src/mango/test/mango.py b/src/mango/test/mango.py index 05c4e65c4..2b41ca642 100644 --- a/src/mango/test/mango.py +++ b/src/mango/test/mango.py @@ -81,7 +81,7 @@ class Database(object): def create(self, q=1, n=1): r = self.sess.get(self.url) if r.status_code == 404: - r = self.sess.put(self.url, params={"q": q, "n": n}) + r = self.sess.put(self.url, params={}) r.raise_for_status() def delete(self): |