class_docstr: Calls :meth:`orion.core.io.database.ephemeraldb.EphemeralDocument.match`.
docstr: Test eq operator with sub document
docstr_tok: ["Test","eq","operator","with","sub","document"]
code: def test_match_sub_eq(self, subdocument):
      """Test eq operator with sub document"""
      assert subdocument.match({"and.the": "drake"})
      assert not subdocument.match({"and.no": "drake"})
  
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 TestMatch obj's underlying member method code with example usage: obj.test_match_sub_eq(subdocument) without return types