code: def test_input_models_local_models(self):
      with pytest.raises(ValueError):
          NaiveEnsembleModel([])
      # models are not instantiated
      with pytest.raises(ValueError):
          NaiveEnsembleModel(
              [NaiveDrift, NaiveSeasonal, Theta, ExponentialSmoothing]
          )
      # one model is not instantiated
      with pytest.raises(ValueError):
          NaiveEnsembleModel(
              [
                  NaiveDrift(),
                  NaiveSeasonal,
                  Theta(),
                  ExponentialSmoothing(),
              ]
          )
      NaiveEnsembleModel(
          [
              NaiveDrift(),
              NaiveSeasonal(),
              Theta(),
              ExponentialSmoothing(),
          ]
      )
  
imports: import numpy
  import pandas
  import pytest
  from darts import TimeSeries
  from darts.logging import get_logger
  from darts.models import ExponentialSmoothing, LinearRegressionModel, NaiveDrift, NaiveEnsembleModel, NaiveSeasonal, StatsForecastAutoARIMA, Theta
  from darts.tests.conftest import tfm_kwargs
  from darts.utils import timeseries_generation
label_desc: Use image node_id 4 for calling the TestEnsembleModels obj's underlying member method code with example usage: obj.test_input_models_local_models() without return types