code: def test_run_with_parallel_strategy(storage, monkeypatch, strategy):
      """Test hunt can be executed with max parallel strategies"""
      monkeypatch.chdir(os.path.dirname(os.path.abspath(__file__)))
  
      with open("strategy_config.yaml") as f:
          config = yaml.safe_load(f.read())
  
      config_file = f"{strategy}_strategy_config.yaml"
  
      with open(config_file, "w") as f:
          config["producer"]["strategy"] = strategy
          f.write(yaml.dump(config))
  
      orion.core.cli.main(
          [
              "hunt",
              "--max-trials",
              "20",
              "--config",
              config_file,
              "./black_box.py",
              "-x~uniform(-50, 50)",
          ]
      )
  
      os.remove(config_file)
  
      exp = list(storage.fetch_experiments({"name": "strategy_demo"}))
      assert len(exp) == 1
      exp = exp[0]
      assert "producer" not in exp
      assert "_id" in exp
      exp_id = exp["_id"]
      trials = list(storage.fetch_trials(uid=exp_id))
      assert len(trials) == 20
  
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 17 for calling a global function with example usage: test_run_with_parallel_strategy(storage, monkeypatch, strategy) without return types