def test_multiple_fit(self):
        """Test whether a model that inferred a seasonality period before will do it again for a new series"""
        series1 = tg.sine_timeseries(length=100, freq=freqs["ME"])
        series2 = tg.sine_timeseries(length=100, freq="D")
        model = ExponentialSmoothing()
        model.fit(series1)
        model.fit(series2)
        assert model.seasonal_periods == 7
Test whether a model that inferred a seasonality period before will do it again for a new series
darts/tests/models/forecasting/test_exponential_smoothing.py