code: def test_timeseries(self, mock_handler):
      df = pd.DataFrame(
          {
              "Year": [
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1949,
                  1950,
                  1950,
                  1950,
                  1950,
                  1950,
                  1950,
                  1950,
                  1950,
              ],
              "Month": [
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8,
                  9,
                  10,
                  11,
                  12,
                  1,
                  2,
                  3,
                  4,
                  5,
                  6,
                  7,
                  8,
              ],
              "Passengers": [
                  112,
                  118,
                  132,
                  129,
                  121,
                  135,
                  148,
                  148,
                  136,
                  119,
                  104,
                  118,
                  115,
                  126,
                  141,
                  135,
                  125,
                  149,
                  170,
                  170,
              ],
          }
      )
  
      self.set_handler(mock_handler, name="pg", tables={"airline": df})
  
      # create project
      self.run_sql("create database proj;")
  
      # create predictor
      self.run_sql(
          """
              CREATE MODEL proj.my_pycaret_timeseries_model
              FROM pg
                  (SELECT Year, Month, Passengers FROM airline)
              PREDICT Passengers
              USING
                engine = 'pycaret',
                model_type = 'time_series',
                model_name = 'naive',
                setup_fh = 3,
                predict_fh = 36,
                setup_session_id = 123;
          """
      )
      self.wait_predictor("proj", "my_pycaret_timeseries_model")
  
      # run predict
      ret = self.run_sql(
          """
              SELECT m.y_pred
              FROM pg.airline as t
              JOIN proj.my_pycaret_timeseries_model AS m;
          """
      )
  
      assert int(ret["y_pred"].iloc[0]) == 125
  
file_path: mindsdb/mindsdb/integrations/handlers/pycaret_handler/test/test_pycaret.py
imports: import importlib
  import time
  from unittest.mock import patch
  import pandas
  import pytest
  from mindsdb_sql import parse_sql
  from tests.unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 7 for calling the TestPyCaret obj's underlying member method code with example usage: obj.test_timeseries(mock_handler) without return types