code: def test_working_dir_argument_config(storage, monkeypatch):
      """Check that workning dir argument is handled properly"""
      monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
      dir_path = os.path.join("orion", "test")
      if os.path.exists(dir_path):
          shutil.rmtree(dir_path)
  
      orion.core.cli.main(
          [
              "hunt",
              "-n",
              "allo",
              "--max-trials",
              "2",
              "--config",
              "./working_dir_config.yaml",
              "./black_box.py",
              "-x~uniform(-50,50)",
          ]
      )
  
      exp = list(storage.fetch_experiments({"name": "allo"}))[0]
      assert exp["working_dir"] == dir_path
      assert os.path.exists(dir_path)
      assert os.listdir(dir_path)
  
      shutil.rmtree(dir_path)
  
imports: import os
  import shutil
  import subprocess
  import sys
  import tempfile
  from collections import defaultdict
  from contextlib import contextmanager
  import numpy
  import pytest
  import yaml
  import orion.core.cli
  import orion.core.io.experiment_builder
  from orion.core.cli.hunt import workon
  from orion.testing import OrionState
label_desc: Use image node_id 14 for calling a global function with example usage: test_working_dir_argument_config(storage, monkeypatch) without return types