code: def test_auto_daily_seasonality(
      self, daily_univariate_ts, subdaily_univariate_ts, backend
  ):
      # Should be enabled
      m = Prophet(stan_backend=backend)
      assert m.daily_seasonality == "auto"
      m.fit(subdaily_univariate_ts)
      assert "daily" in m.seasonalities
      assert m.seasonalities["daily"] == {
          "period": 1,
          "fourier_order": 4,
          "prior_scale": 10.0,
          "mode": "additive",
          "condition_name": None,
      }
      # Should be disabled due to too short history
      train = subdaily_univariate_ts.head(430)
      m = Prophet(stan_backend=backend)
      m.fit(train)
      assert "daily" not in m.seasonalities
      m = Prophet(daily_seasonality=True, stan_backend=backend)
      m.fit(train)
      assert "daily" in m.seasonalities
      m = Prophet(
          daily_seasonality=7,
          seasonality_prior_scale=3.0,
          stan_backend=backend,
      )
      m.fit(subdaily_univariate_ts)
      assert m.seasonalities["daily"] == {
          "period": 1,
          "fourier_order": 7,
          "prior_scale": 3.0,
          "mode": "additive",
          "condition_name": None,
      }
      m = Prophet(stan_backend=backend)
      m.fit(daily_univariate_ts)
      assert "daily" not in m.seasonalities
  
imports: import numpy
  import pandas
  import pytest
  from prophet import Prophet
  from prophet.utilities import warm_start_params
label_desc: Use image node_id 5 for calling the TestProphetSeasonalComponent obj's underlying member method code with example usage: obj.test_auto_daily_seasonality(daily_univariate_ts, subdaily_univariate_ts, backend) without return types