tonysun83 commented on code in PR #3990:
URL: https://github.com/apache/couchdb/pull/3990#discussion_r856475359
##########
src/mango/test/01-index-crud-test.py:
##########
@@ -68,17 +68,17 @@ def test_bad_types(self):
else:
raise AssertionError("bad create index")
- def test_bad_names(self):
- bad_names = [True, False, 1.5, {"foo": "bar"}, [None, False]]
- for bn in bad_names:
+ def test_bad_names_ddocs(self):
+ bad_args = ["", True, False, 1.5, {"foo": "bar"}, [None, False]]
Review Comment:
this only tests for `"name": ""` ? Can we add a testcase where `"ddoc": ""`
and it receives the same error? The original bug has `"ddoc" : ""`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]