code: def test_run(searcher, scheduler):
      hyperparameter_tune_kwargs = dict(
          searcher=searcher,
          scheduler=scheduler,
          num_trials=2,
      )
      with tempfile.TemporaryDirectory() as root:
          analysis = run(
              trainable=_dummy_trainable,
              trainable_args=dict(),
              search_space=DUMMY_SEARCH_SPACE,
              hyperparameter_tune_kwargs=hyperparameter_tune_kwargs,
              metric="score",
              mode="min",
              save_dir=root,
              ray_tune_adapter=DummyAdapter(),
          )
          assert analysis is not None
  
file_path: autogluon/core/tests/unittests/hpo/test_ray_hpo.py
imports: import tempfile
  import pytest
  from ray import tune
  from autogluon.core.hpo.ray_hpo import AutommRayTuneAdapter, RayTuneAdapter, TabularRayTuneAdapter, run
  from autogluon.core.hpo.ray_tune_constants import SCHEDULER_PRESETS, SEARCHER_PRESETS
label_desc: Use image node_id 7 for calling a global function with example usage: test_run(searcher, scheduler) without return types