code: def test_no_frequency(daily_data):
      """Frequency not given and not inferrable, using default template."""
      df = daily_data.iloc[[1, 2, 3, 5]].reset_index(drop=True)
      config = ForecastConfig(
          forecast_horizon=1,
          evaluation_period_param=EvaluationPeriodParam(
              cv_max_splits=1
          ),
      )
      with LogCapture(LOGGER_NAME) as log_capture:
          model_template = get_auto_silverkite_model_template(
              df=df,
              default_model_template_name=DEFAULT_MODEL_TEMPLATE,
              config=config,
          )
          assert model_template == ModelTemplateEnum.SILVERKITE.name
          log_capture.check_present(
              (
                  LOGGER_NAME,
                  "INFO",
                  f"Model template was set to 'auto', however, the data frequency "
                  f"is not given and can not be inferred. "
                  f"Using default model template '{model_template}'.",
              )
          )
  
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 10 for calling a global function with example usage: test_no_frequency(daily_data) without return types