code: def test_fetch_config_from_cmdargs():
      """Verify fetch_config returns empty dict on no config file path"""
      cmdargs = {
          "name": "test",
          "user": "me",
          "version": 1,
          "config": None,
          "exp_max_trials": "exp_max_trials",
          "worker_trials": "worker_trials",
          "exp_max_broken": "exp_max_broken",
          "working_dir": "working_dir",
          "max_trials": "max_trials",
          "heartbeat": "heartbeat",
          "worker_max_trials": "worker_max_trials",
          "worker_max_broken": "worker_max_broken",
          "max_idle_time": "max_idle_time",
          "idle_timeout": "idle_timeout",
          "interrupt_signal_code": "interrupt_signal_code",
          "user_script_config": "user_script_config",
          "manual_resolution": "manual_resolution",
          "non_monitored_arguments": "non_monitored_arguments",
          "ignore_code_changes": "ignore_code_changes",
          "auto_resolution": "auto_resolution",
          "branch_from": "branch_from",
          "algorithm_change": "algorithm_change",
          "code_change_type": "code_change_type",
          "cli_change_type": "cli_change_type",
          "branch_to": "branch_to",
          "config_change_type": "config_change_type",
      }
  
      config = resolve_config.fetch_config_from_cmdargs(cmdargs)
  
      assert config.pop("config", None) is None
  
      exp_config = config.pop("experiment")
      assert exp_config.pop("name") == "test"
      assert exp_config.pop("version") == 1
      assert exp_config.pop("user") == "me"
      assert exp_config.pop("max_trials") == "exp_max_trials"
      assert exp_config.pop("max_broken") == "exp_max_broken"
      assert exp_config.pop("working_dir") == "working_dir"
  
      assert exp_config == {}
  
      worker_config = config.pop("worker")
      assert worker_config.pop("heartbeat") == "heartbeat"
      assert worker_config.pop("max_trials") == "worker_max_trials"
      assert worker_config.pop("max_broken") == "worker_max_broken"
      assert worker_config.pop("max_idle_time") == "max_idle_time"
      assert worker_config.pop("idle_timeout") == "idle_timeout"
      assert (
          worker_config.pop("interrupt_signal_code")
          == "interrupt_signal_code"
      )
      assert (
          worker_config.pop("user_script_config")
          == "user_script_config"
      )
  
      assert worker_config == {}
  
      evc_config = config.pop("evc")
      assert evc_config.pop("manual_resolution") == "manual_resolution"
      assert (
          evc_config.pop("non_monitored_arguments")
          == "non_monitored_arguments"
      )
      assert (
          evc_config.pop("ignore_code_changes") == "ignore_code_changes"
      )
      assert evc_config.pop("auto_resolution") == "auto_resolution"
      assert evc_config.pop("branch_from") == "branch_from"
      assert evc_config.pop("algorithm_change") == "algorithm_change"
      assert evc_config.pop("code_change_type") == "code_change_type"
      assert evc_config.pop("cli_change_type") == "cli_change_type"
      assert evc_config.pop("branch_to") == "branch_to"
      assert (
          evc_config.pop("config_change_type") == "config_change_type"
      )
  
      assert evc_config == {}
  
      assert config == {}
  
imports: import hashlib
  import logging
  import os
  import shutil
  import git
  import pytest
  import orion.core
  import orion.core.io.resolve_config
label_desc: Use image node_id 11 for calling a global function with example usage: test_fetch_config_from_cmdargs() without return types