code: def test_run(
      make_runner: Callable[..., TargetFunctionRunner]
  ) -> None:
      """Makes sure that we are able to run a config and return the expected values/types"""
      runner = make_runner(target, use_instances=True)
      run_info = TrialInfo(
          config=2, instance="test", seed=0, budget=0.0
      )
  
      # submit runs! then get the value
      runner.submit_trial(run_info)
      result = next(runner.iter_results(), None)
  
      assert result is not None
  
      run_info, run_value = result
  
      assert run_value.cost == 4
      assert run_value.status == StatusType.SUCCESS
  
imports: from __future__ import annotations
  from typing import Callable
  import time
  import pytest
  from ConfigSpace import Configuration, ConfigurationSpace
  from smac.runhistory import TrialInfo
  from smac.runner.abstract_runner import StatusType
  from smac.runner.target_function_runner import TargetFunctionRunner
  from smac.scenario import Scenario
label_desc: Use image node_id 8 for calling a global function with example usage: test_run(make_runner) without return types