code: def test_init_drift_threshold():
      """Test init method of DriftThreshold class."""
      drift_threshold = DriftThreshold()
      assert drift_threshold.threshold == 0.6
      assert drift_threshold.subsample == 1.0
      assert isinstance(
          drift_threshold.estimator, type(DecisionTreeClassifier())
      )
      assert drift_threshold.n_folds == 2
      assert drift_threshold.stratify
      assert drift_threshold.random_state == 1
      assert drift_threshold.n_jobs == -1
      assert not drift_threshold._DriftThreshold__fitOK
  
file_path: MLBox/tests/test_drift_threshold.py
imports: import pytest
  import pandas
  from mlbox.preprocessing.drift import DriftThreshold
  from mlbox.preprocessing.drift import sync_fit
  from sklearn.tree import DecisionTreeClassifier
  from sklearn.ensemble import RandomForestClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: test_init_drift_threshold() without return types