class_docstr: Calls :meth:`orion.core.io.database.ephemeraldb.EphemeralDocument.match`.
docstr: Test $lte operator with document
docstr_tok: ["Test","$","lte","operator","with","document"]
code: def test_match_lte(self, document):
      """Test $lte operator with document"""
      assert document.match({"_id": {"$lte": 2}})
      assert document.match({"_id": {"$lte": 1}})
      assert not document.match({"_id": {"$lte": 0}})
  
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 7 for calling the TestMatch obj's underlying member method code with example usage: obj.test_match_lte(document) without return types