summaryrefslogtreecommitdiff
path: root/src/mango/test/user_docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mango/test/user_docs.py')
-rw-r--r--src/mango/test/user_docs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mango/test/user_docs.py b/src/mango/test/user_docs.py
index 02ffe9ffc..7455f0a7a 100644
--- a/src/mango/test/user_docs.py
+++ b/src/mango/test/user_docs.py
@@ -87,7 +87,8 @@ def add_view_indexes(db, kwargs):
["ordered"]
]
for idx in indexes:
- assert db.create_index(idx) is True
+ name = '-'.join(idx)
+ assert db.create_index(idx, ddoc=name, name=name) is True
def add_text_indexes(db, kwargs):