We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64801b4 commit 6f3e23bCopy full SHA for 6f3e23b
1 file changed
test/test_collection.py
@@ -301,7 +301,7 @@ def run(self):
301
pass
302
coll.ensure_index('foo')
303
coll.drop_indexes()
304
- coll.ensure_index('foo')
+ coll.create_index('foo')
305
306
try:
307
threads = []
@@ -315,8 +315,7 @@ def run(self):
315
316
joinall(threads)
317
318
- wait_until(lambda: 'foo_1' in coll.index_information(),
319
- "find the foo_1 index")
+ self.assertTrue('foo_1' in coll.index_information())
320
finally:
321
coll.drop()
322
0 commit comments