class_docstr: Test Trial object and class.
docstr: Check property `Trial.hash_name`.
docstr_tok: ["Check","property","`","Trial.hash_name","`","."]
code: def test_hash_name_property(self, trial_config):
      """Check property `Trial.hash_name`."""
      t = Trial(**trial_config)
      assert t.hash_name == "eebf174e46dae012521c12985b652cff"
  
      t = Trial()
      with pytest.raises(ValueError) as exc:
          t.hash_name
      assert "params" in str(exc.value)
  
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 22 for calling the TestTrial obj's underlying member method code with example usage: obj.test_hash_name_property(trial_config) without return types