code: def test_setting_runhistory(
      make_scenario, configspace_small, make_config_selector
  ):
      """Tests information from runhistory are used."""
      scenario = make_scenario(
          configspace_small, use_instances=True, n_instances=3
      )
      runhistory = RunHistory()
      intensifier = Intensifier(
          scenario=scenario, max_config_calls=3, seed=0
      )
      intensifier.config_selector = make_config_selector(
          scenario, runhistory, n_initial_configs=1
      )
  
      config = configspace_small.get_default_configuration()
      config2 = configspace_small.sample_configuration(1)
  
      # Add some entries to the runhistory
      runhistory.add(
          config=config,
          cost=0.5,
          time=0.0,
          instance=scenario.instances[1],
          seed=8,
          status=StatusType.RUNNING,
      )
  
      runhistory.add(
          config=config2,
          cost=0.5,
          time=0.0,
          instance=scenario.instances[1],
          seed=59,
          status=StatusType.SUCCESS,
      )
  
      intensifier.runhistory = runhistory
      intensifier.__post_init__()
      assert intensifier._tf_seeds == [8, 59]
  
file_path: SMAC3/tests/test_intensifier/test_abstract_intensifier.py
imports: import random
  import pytest
  from smac.initial_design.random_design import RandomInitialDesign
  from smac.intensifier.abstract_intensifier import AbstractIntensifier
  from smac.intensifier.intensifier import Intensifier
  from smac.main.config_selector import ConfigSelector
  from smac.runhistory.enumerations import StatusType
  from smac.runhistory.runhistory import RunHistory
  from smac.scenario import Scenario
label_desc: Use image node_id 1 for calling a global function with example usage: test_setting_runhistory(make_scenario, configspace_small, make_config_selector) without return types