code: def test_decompose_timeseries(_statsmodels, compute_time_data):
      result = _pandas_compute_decompose_timeseries(
          compute_time_data, col="var", model="additive"
      )
      assert isinstance(
          result, _statsmodels.tsa.seasonal.DecomposeResult
      )
      assert len(result.trend) == 15
      assert len(result.observed) == 15
      assert len(result.seasonal) == 15
      assert len(result.resid) == 15
  
file_path: data-describe/tests/test_time_series.py
imports: import matplotlib
  import pytest
  import plotly.graph_objects
  from data_describe.core.time import _pandas_compute_stationarity_test, adf_test, kpss_test, _pandas_compute_decompose_timeseries, _pandas_compute_autocorrelation, plot_autocorrelation, stationarity_test
  import data_describe
  from data_describe.compat import _is_dataframe
label_desc: Use image node_id 6 for calling a global function with example usage: test_decompose_timeseries(_statsmodels, compute_time_data) without return types