def METHOD_NAME(self, caplog, orion_db):
    """When logging.level is ERROR, there should be no logging."""
    logging.basicConfig(level=logging.INFO)
    caplog.clear()
    caplog.set_level(logging.ERROR)
    # any operation will trigger the lock.
    orion_db.read("experiments", {"name": "supernaedo2", "metadata.user": "dendi"})
    assert "acquired on orion_db.pkl.lock" not in caplog.text