code: def test_silverkite_components_enum():
      """Tests SilverkiteSeasonalityEnum accessors"""
      assert (
          SilverkiteComponentsEnum.DAILY_SEASONALITY.value.groupby_time_feature
          == "tod"
      )
      assert (
          SilverkiteComponentsEnum.DAILY_SEASONALITY.value.xlabel
          == "Hour of day"
      )
      assert (
          SilverkiteComponentsEnum.DAILY_SEASONALITY.value.ylabel
          == "daily"
      )
  
      assert (
          SilverkiteComponentsEnum.WEEKLY_SEASONALITY.value.groupby_time_feature
          == "tow"
      )
      assert (
          SilverkiteComponentsEnum.MONTHLY_SEASONALITY.value.groupby_time_feature
          == "tom"
      )
      assert (
          SilverkiteComponentsEnum.QUARTERLY_SEASONALITY.value.groupby_time_feature
          == "toq"
      )
      assert (
          SilverkiteComponentsEnum.YEARLY_SEASONALITY.value.groupby_time_feature
          == "toy"
      )
  
      for component in SilverkiteComponentsEnum.__dict__[
          "_member_names_"
      ]:
          assert (
              component == "Component"
              or component in SeasonalityEnum.__dict__["_member_names_"]
          )
  
file_path: greykite/greykite/tests/algo/forecast/silverkite/test_silverkite_constants.py
imports: from typing import Type
  from overrides import overrides
  from greykite.algo.forecast.silverkite.constants.silverkite_column import SilverkiteColumn
  from greykite.algo.forecast.silverkite.constants.silverkite_component import SilverkiteComponentsEnum
  from greykite.algo.forecast.silverkite.constants.silverkite_constant import SilverkiteConstant
  from greykite.algo.forecast.silverkite.constants.silverkite_holiday import SilverkiteHoliday
  from greykite.algo.forecast.silverkite.constants.silverkite_seasonality import SilverkiteSeasonalityEnum
  from greykite.algo.forecast.silverkite.constants.silverkite_time_frequency import SilverkiteTimeFrequencyEnum
  from greykite.algo.forecast.silverkite.forecast_silverkite import SilverkiteForecast
  from greykite.algo.forecast.silverkite.forecast_simple_silverkite import SimpleSilverkiteForecast
  from greykite.common.enums import FrequencyEnum
  from greykite.common.enums import SeasonalityEnum
label_desc: Use image node_id 3 for calling a global function with example usage: test_silverkite_components_enum() without return types