class_docstr: Test Trial object and class.
code: def test_working_dir(self, tmp_path, params):
      trial = Trial(
          experiment=0,
          exp_working_dir=tmp_path,
          params=params,
          parent=1,
      )
      assert trial.working_dir == os.path.join(tmp_path, trial.id)
      assert trial.get_working_dir() == os.path.join(tmp_path, trial.id)
  
      trial._params.append(
          Trial.Param(name="/epoch", type="fidelity", value=1)
      )
  
      assert trial.id != trial.hash_params
      assert trial.get_working_dir(
          ignore_fidelity=True, ignore_lie=True, ignore_parent=True
      ) == os.path.join(tmp_path, trial.hash_params)
  
      assert (
          trial.get_working_dir(ignore_parent=True) != trial.working_dir
      )
  
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 31 for calling the TestTrial obj's underlying member method code with example usage: obj.test_working_dir(tmp_path, params) without return types