code: def test_no_horizon(daily_data):
      """Forecast horizon not given, using default template."""
      df = daily_data
      config = ForecastConfig(
          evaluation_period_param=EvaluationPeriodParam(cv_max_splits=1)
      )
      # For daily data, when forecast horizon is not given, the default is 30 days.
      # The corresponding model template is "SILVERKITE".
      model_template = get_auto_silverkite_model_template(
          df=df,
          default_model_template_name=DEFAULT_MODEL_TEMPLATE,
          config=config,
      )
      assert model_template == ModelTemplateEnum.SILVERKITE.name
  
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 11 for calling a global function with example usage: test_no_horizon(daily_data) without return types