@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_time_series_are_series(self, order_history, good_pixel_id, good_predict_at, train_horizon):
    'The time series come as `pd.Series`.'
    result = order_history.make_vertical_ts(pixel_id=good_pixel_id, predict_day=good_predict_at.date(), train_horizon=train_horizon)
    (training_ts, _, actuals_ts) = result
    assert isinstance(training_ts, pd.Series)
    assert (training_ts.name == 'n_orders')
    assert isinstance(actuals_ts, pd.Series)
    assert (actuals_ts.name == 'n_orders')
The time series come as `pd.Series`.
@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_time_series_are_series(self, order_history, good_pixel_id, good_predict_at, train_horizon):
    
    result = order_history.make_vertical_ts(pixel_id=good_pixel_id, predict_day=good_predict_at.date(), train_horizon=train_horizon)
    (training_ts, _, actuals_ts) = result
    assert isinstance(training_ts, pd.Series)
    assert (training_ts.name == 'n_orders')
    assert isinstance(actuals_ts, pd.Series)
    assert (actuals_ts.name == 'n_orders')