class_docstr: Test index for :meth:`orion.core.io.database.ephemeraldb.EphemeralCollection`.
docstr: Test if index values are tracked property.
docstr_tok: ["Test","if","index","values","are","tracked","property","."]
code: def test_track_index(self, collection):
      """Test if index values are tracked property."""
      collection.create_index("hello", unique=True)
      collection.insert_many([{"hello": "here"}, {"hello": 2}])
      assert collection._indexes == {
          "_id_": (("_id",), {(1,), (2,), (3,)}),
          "hello_1": (("hello",), {("there",), ("here",), (2,)}),
      }
  
imports: import pytest
  from orion.core.io.database import Database
  from orion.core.io.database.ephemeraldb import EphemeralCollection, EphemeralDB, EphemeralDocument
label_desc: Use image node_id 2 for calling the TestIndex obj's underlying member method code with example usage: obj.test_track_index(collection) without return types