code: def test_holdout_loaded_models(automl: AutoML) -> None:
      """
      Parameters
      ----------
      automl : AutoML
          The fitted automl object to test
  
      Expects
      -------
      * The ensemble should not be empty
      * The models_ should contain the identifiers of what's in the ensemble
      * The cv_models_ attr should remain None
      """
      assert automl.ensemble_ is not None
  
      ensemble_identifiers = (
          automl.ensemble_.get_selected_model_identifiers()
      )
  
      assert set(automl.models_.keys()) == set(ensemble_identifiers)
      assert automl.cv_models_ is None
  
file_path: auto-sklearn/test/test_automl/test_post_fit.py
imports: from pathlib import Path
  from autosklearn.automl import AutoML
  from autosklearn.ensemble_building.builder import CANDIDATES_FILENAME
  from pytest import mark
  from pytest_cases import parametrize_with_cases
  from pytest_cases.filters import has_tag
  import test.test_automl.cases
  from test.conftest import DEFAULT_SEED
label_desc: Use image node_id 1 for calling a global function with example usage: test_holdout_loaded_models(automl) without return types