code: def test_missing_fidelity(algorithm: dict):
      """Test a simple usage scenario."""
      task = CustomRosenbrock(max_trials=30, with_fidelity=False)
      with pytest.raises(RuntimeError) as exc:
          workon(
              task,
              task.get_search_space(),
              algorithm=algorithm,
              max_trials=100,
          )
  
      assert (
          "https://orion.readthedocs.io/en/develop/user/algorithms.html"
          in str(exc.value)
      )
  
imports: from __future__ import annotations
  import copy
  import os
  from pathlib import Path
  import numpy
  import pytest
  from orion.algo.pbt.pb2_utils import import_optional
  from orion.client import build_experiment, create_experiment, workon
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils.module_import import ImportOptional
  from orion.core.worker.algo_wrappers import AlgoWrapper
  from orion.core.worker.primary_algo import SpaceTransform
  from orion.core.worker.trial import Trial
  from orion.storage.base import BaseStorageProtocol
  from orion.benchmark.task.base import BenchmarkTask
label_desc: Use image node_id 4 for calling a global function with example usage: test_missing_fidelity(algorithm) without return types