class_docstr: Test Trial object and class.
docstr: Check property `Trial.compute_trial_hash(ignore_lie=True)`.
docstr_tok: ["Check","property","`","Trial.compute_trial_hash","(","ignore_lie=True",")","`","."]
code: def test_hash_ignore_lie(self, trial_config):
      """Check property `Trial.compute_trial_hash(ignore_lie=True)`."""
      trial_config["params"].append(
          {"name": "/max_epoch", "type": "fidelity", "value": "1"}
      )
      t1 = Trial(**trial_config)
      # Add a lie
      trial_config["results"].append(
          {"name": "lie", "type": "lie", "value": 1}
      )
      t2 = Trial(**trial_config)
      assert t1.hash_name != t2.hash_name
      assert t1.hash_params == t2.hash_params
      assert Trial.compute_trial_hash(
          t1, ignore_lie=True
      ) == Trial.compute_trial_hash(t2, ignore_lie=True)
  
imports: import copy
  import datetime
  import os
  import warnings
  import bson
  import numpy
  import pytest
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 25 for calling the TestTrial obj's underlying member method code with example usage: obj.test_hash_ignore_lie(trial_config) without return types