code: def test_get_requested_seasonality_order():
      """Tests get_requested_seasonality_order"""
      silverkite = SimpleSilverkiteForecast()
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality="auto",
              default_order=5,
              is_enabled_auto=True,
          )
          == 5
      )
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality="auto",
              default_order=5,
              is_enabled_auto=False,
          )
          == 0
      )
  
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=True,
              default_order=6,
              is_enabled_auto=True,
          )
          == 6
      )
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=True,
              default_order=6,
              is_enabled_auto=False,
          )
          == 6
      )
  
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=False,
              default_order=5,
              is_enabled_auto=True,
          )
          == 0
      )
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=False,
              default_order=5,
              is_enabled_auto=False,
          )
          == 0
      )
  
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=None,
              default_order=5,
              is_enabled_auto=True,
          )
          == 0
      )
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=None,
              default_order=5,
              is_enabled_auto=False,
          )
          == 0
      )
  
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=1,
              default_order=5,
              is_enabled_auto=True,
          )
          == 1
      )
      assert (
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality=2,
              default_order=5,
              is_enabled_auto=False,
          )
          == 2
      )
  
      with pytest.raises(
          ValueError,
          match="invalid literal for int\(\) with base 10\: 'invalid'",
      ):  # noqa: W605
          silverkite._SimpleSilverkiteForecast__get_requested_seasonality_order(
              requested_seasonality="invalid"
          )
  
imports: import datetime
  import math
  import sys
  import warnings
  from datetime import timedelta
  import pandas
  import pytest
  from testfixtures import LogCapture
  import greykite.common.constants
  from greykite.algo.changepoint.adalasso.changepoint_detector import ChangepointDetector
  from greykite.algo.forecast.silverkite.constants.silverkite_column import SilverkiteColumn
  from greykite.algo.forecast.silverkite.constants.silverkite_holiday import SilverkiteHoliday
  from greykite.algo.forecast.silverkite.constants.silverkite_seasonality import SilverkiteSeasonality
  from greykite.algo.forecast.silverkite.constants.silverkite_seasonality import SilverkiteSeasonalityEnum
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite import SimpleSilverkiteForecast
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite_helper import generate_holiday_events
  from greykite.common.constants import CHANGEPOINT_COL_PREFIX
  from greykite.common.constants import EVENT_DF_DATE_COL
  from greykite.common.constants import EVENT_DF_LABEL_COL
  from greykite.common.constants import LOGGER_NAME
  from greykite.common.constants import TIME_COL
  from greykite.common.constants import VALUE_COL
  from greykite.common.data_loader import DataLoader
  from greykite.common.enums import SimpleTimeFrequencyEnum
  from greykite.common.enums import TimeEnum
  from greykite.common.features.timeseries_features import get_available_holidays_across_countries
  from greykite.common.features.timeseries_features import get_holidays
  from greykite.common.python_utils import assert_equal
  from greykite.common.python_utils import update_dictionary
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.testing_utils import generate_df_with_reg_for_tests
label_desc: Use image node_id 13 for calling a global function with example usage: test_get_requested_seasonality_order() without return types