code: def test_tukey_outlier_detector_init():
      """Tests `TukeyOutlierDetector` init."""
      # Tests default `__init__`.
      detect_outlier = TukeyOutlierDetector()
      # The default for `trim_percent` is different from Z-score.
      assert detect_outlier.trim_percent is None
      assert detect_outlier.diff_method is not None
      assert detect_outlier.lower_bound is None
      assert detect_outlier.upper_bound is None
      assert detect_outlier.fitted_param == {}
      assert detect_outlier.y is None
      assert detect_outlier.y_diffed is None
      assert detect_outlier.y_na_removed is None
      assert detect_outlier.y_trimmed is None
      assert detect_outlier.y_ready_to_fit is None
      assert detect_outlier.fitted == DetectionResult(
          scores=None, is_outlier=None
      )
      assert detect_outlier.y_new is None
      assert detect_outlier.y_new_ready_to_predict is None
      assert detect_outlier.predicted == DetectionResult(
          scores=None, is_outlier=None
      )
      # Specific to this class.
      assert detect_outlier.iqr_lower == 0.1
      assert detect_outlier.iqr_upper == 0.9
      assert detect_outlier.tukey_cutoff == 1.0
  
      # Tests `__init__` with parameters.
      detect_outlier = TukeyOutlierDetector(
          iqr_lower=0.05, iqr_upper=0.95, tukey_cutoff=0.2
      )
  
      assert detect_outlier.iqr_lower == 0.05
      assert detect_outlier.iqr_upper == 0.95
      assert detect_outlier.tukey_cutoff == 0.2
  
imports: import numpy
  import pandas
  import pytest
  from greykite.common.features.outlier import EXPONENTIAL_SMOOTHING
  from greykite.common.features.outlier import MOVING_MEDIAN
  from greykite.common.features.outlier import BaseOutlierDetector
  from greykite.common.features.outlier import DetectionResult
  from greykite.common.features.outlier import DiffMethod
  from greykite.common.features.outlier import TukeyOutlierDetector
  from greykite.common.features.outlier import ZScoreOutlierDetector
  from greykite.common.viz.timeseries_annotate import plot_lines_markers
label_desc: Use image node_id 11 for calling a global function with example usage: test_tukey_outlier_detector_init() without return types