code: def test_validate_inputs():
      """Test validate_inputs"""
  
      with pytest.warns(None) as record:
          SilverkiteEstimator()
          assert len(record) == 0  # no warnings
  
      with pytest.raises(ValueError) as record:
          fs_components_df = pd.DataFrame(
              {"name": ["tod", "tow"], "period": [24.0, 7.0]}
          )
          SilverkiteEstimator(fs_components_df=fs_components_df)
          fs_cols_not_found = {"order", "seas_names"}
          assert (
              f"fs_components_df is missing the following columns: "
              f"{fs_cols_not_found}" in record[0].message.args[0]
          )
  
      with pytest.raises(ValueError) as record:
          fs_components_df = pd.DataFrame(
              {
                  "name": ["tod", "tow", "tow"],
                  "period": [24.0, 7.0, 10.0],
                  "order": [12, 4, 3],
                  "seas_names": ["daily", "weekly", "weekly"],
              }
          )
          SilverkiteEstimator(fs_components_df=fs_components_df)
          assert (
              "Found multiple rows in fs_components_df with same `names` and `seas_names`. "
              "Make sure these are unique." in record[0].message.args[0]
          )
  
imports: import datetime
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from sklearn.linear_model import SGDRegressor
  from sklearn.metrics import mean_squared_error
  import greykite.common.constants
  from greykite.algo.forecast.silverkite.forecast_silverkite import SilverkiteForecast
  from greykite.common.features.timeseries_features import convert_date_to_continuous_time
  from greykite.common.features.timeseries_impute import impute_with_lags
  from greykite.common.python_utils import assert_equal
  from greykite.common.testing_utils import daily_data_reg
  from greykite.common.testing_utils import generate_df_for_tests
  from greykite.common.testing_utils import generate_df_with_reg_for_tests
  from greykite.sklearn.estimator.silverkite_estimator import SilverkiteEstimator
  from greykite.sklearn.estimator.testing_utils import params_component_breakdowns
  from greykite.sklearn.estimator.testing_utils import params_components
label_desc: Use image node_id 9 for calling a global function with example usage: test_validate_inputs() without return types