class_docstr: Calls :meth:`orion.core.io.database.AbstractDB.drop_index`.
docstr: Test that no index is returned when there is none.
docstr_tok: ["Test","that","no","index","is","returned","when","there","is","none","."]
code: def test_no_index(self, orion_db):
      """Test that no index is returned when there is none."""
      with pytest.raises(DatabaseError) as exc:
          orion_db.drop_index("test_collection", "i_dont_exist")
      assert "index not found with name" in str(exc.value)
  
imports: import pickle
  from datetime import datetime
  import pytest
  from orion.core.io.database import Database, DatabaseError, DuplicateKeyError
  from orion.core.io.database.ephemeraldb import EphemeralDB
  from orion.core.io.database.mongodb import MongoDB
  from orion.core.io.database.pickleddb import PickledDB
  from .conftest import insert_test_collection
label_desc: Use image node_id 1 for calling the TestDropIndex obj's underlying member method code with example usage: obj.test_no_index(orion_db) without return types