code: def test_run(
      make_dummy_ta: Callable[..., TargetFunctionRunner]
  ) -> None:
      """Makes sure that we are able to run a configuration and get expected values/types"""
      single_worker = make_dummy_ta(target, n_workers=2)
      runner = DaskParallelRunner(single_worker=single_worker)
      trial_info = TrialInfo(
          config=2, instance="test", seed=0, budget=0.0
      )
  
      # Submit runs! then get the value
      runner.submit_trial(trial_info)
      result = next(runner.iter_results(), None)
  
      # Run will not have finished so fast
      assert result is None
  
      # Wait until there is a result
      runner.wait()
      result = next(runner.iter_results(), None)
      assert result is not None
  
      trial_info, run_value = result
      assert isinstance(trial_info, TrialInfo)
      assert isinstance(run_value, TrialValue)
  
      assert run_value.cost == 4
      assert run_value.status == StatusType.SUCCESS
  
file_path: SMAC3/tests/test_runner/test_dask_runner.py
imports: from __future__ import annotations
  from typing import Callable
  import time
  import pytest
  from ConfigSpace import ConfigurationSpace
  from dask.distributed import Client
  from smac.runhistory import TrialInfo, TrialValue
  from smac.runner.abstract_runner import StatusType
  from smac.runner.dask_runner import DaskParallelRunner
  from smac.runner.target_function_runner import TargetFunctionRunner
  from smac.scenario import Scenario
label_desc: Use image node_id 5 for calling a global function with example usage: test_run(make_dummy_ta) without return types