code: def test_exception(hourly_data):
      """Exception."""
      with pytest.raises(
          ValueError,
          match="The `default_model_template_name` in "
          "`get_auto_silverkite_model_template` cannot be 'AUTO'.",
      ):
          get_auto_silverkite_model_template(
              df=hourly_data,
              default_model_template_name=ModelTemplateEnum.AUTO.name,
              config=ForecastConfig(forecast_horizon=10),
          )
  
imports: import pandas
  import pytest
  from testfixtures import LogCapture
  from greykite.common.logging import LOGGER_NAME
  from greykite.framework.templates.auto_model_template import get_auto_silverkite_model_template
  from greykite.framework.templates.autogen.forecast_config import EvaluationPeriodParam
  from greykite.framework.templates.autogen.forecast_config import ForecastConfig
  from greykite.framework.templates.model_templates import ModelTemplateEnum
  from greykite.framework.templates.simple_silverkite_template_config import SILVERKITE_DAILY_90
  from greykite.framework.templates.simple_silverkite_template_config import SILVERKITE_HOURLY_1
  from greykite.framework.templates.simple_silverkite_template_config import SILVERKITE_HOURLY_24
  from greykite.framework.templates.simple_silverkite_template_config import SILVERKITE_HOURLY_168
  from greykite.framework.templates.simple_silverkite_template_config import SILVERKITE_HOURLY_336
  from greykite.framework.templates.simple_silverkite_template_config import SILVERKITE_WEEKLY
label_desc: Use image node_id 5 for calling a global function with example usage: test_exception(hourly_data) without return types