@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_time_series_have_correct_length(self, order_history, good_pixel_id, good_predict_at, train_horizon):
    'The length of a training time series must be a multiple of `7` ...\n\n        ... whereas the time series with the actual order counts has only `1` value.\n        '
    result = order_history.make_horizontal_ts(pixel_id=good_pixel_id, predict_at=good_predict_at, train_horizon=train_horizon)
    (training_ts, _, actuals_ts) = result
    assert (len(training_ts) == (7 * train_horizon))
    assert (len(actuals_ts) == 1)
The length of a training time series must be a multiple of `7` ...

... whereas the time series with the actual order counts has only `1` value.
@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_time_series_have_correct_length(self, order_history, good_pixel_id, good_predict_at, train_horizon):
    'The length of a training time series must be a multiple of `7` ...\n\n        ... whereas the time series with the actual order counts has only `1` value.\n        '
    result = order_history.make_horizontal_ts(pixel_id=good_pixel_id, predict_at=good_predict_at, train_horizon=train_horizon)
    (training_ts, _, actuals_ts) = result
    assert (len(training_ts) == (7 * train_horizon))
    assert (len(actuals_ts) == 1)