class_docstr: Calls :meth:`orion.core.io.database.AbstractDB.drop_index`.
class_docstr_tok: ["Calls",":","meth",":","`","orion.core.io.database.AbstractDB.drop_index","`","."]
docstr: Test with single indexes.
docstr_tok: ["Test","with","single","indexes","."]
code: def test_drop_unique_index(self, orion_db):
      """Test with single indexes."""
      orion_db.ensure_index(
          "hello", [("bonjour", Database.DESCENDING)], unique=True
      )
      index_info = orion_db.index_information("hello")
      assert index_info == {"_id_": True, "bonjour_-1": True}
      orion_db.drop_index("hello", "bonjour_-1")
      index_info = orion_db.index_information("hello")
      assert index_info == {"_id_": True}
  
imports: import functools
  from timeit import timeit
  import pymongo
  import pytest
  from pymongo import MongoClient
  from orion.core.io.database import Database, DatabaseError, DuplicateKeyError
  from orion.core.io.database.mongodb import AUTH_FAILED_MESSAGES, MongoDB
  from .conftest import insert_test_collection
  from .test_database import get_db
label_desc: Use image node_id 2 for calling the TestDropIndex obj's underlying member method code with example usage: obj.test_drop_unique_index(orion_db) without return types