code: def test_add_lags_wrong_inputs(test_df):
      invalid_df = [[1, 2, 3], [4, 5, 6]]
      invalid_lags = ["1", "2"]
      with pytest.raises(
          ValueError, match="lags must be a list of type: ?"
      ):
          add_lags(test_df, ["X1"], invalid_lags)
      with pytest.raises(
          ValueError, match="X type should be one of: ?"
      ):
          add_lags(invalid_df, ["X1"], 1)
  
imports: import logging
  import numpy
  import pandas
  import pytest
  from sklego.pandas_utils import _add_lagged_numpy_columns, _add_lagged_pandas_columns, add_lags, log_step, log_step_extra
label_desc: Use image node_id 3 for calling a global function with example usage: test_add_lags_wrong_inputs(test_df) without return types