@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_no_long_enough_history1(self, order_history, good_pixel_id, bad_predict_at, train_horizon):
    'If the `predict_at` day is too early in the `START`-`END` horizon ...\n\n        ... the history of order totals is not long enough.\n        '
    with pytest.raises(RuntimeError):
        order_history.make_horizontal_ts(pixel_id=good_pixel_id, predict_at=bad_predict_at, train_horizon=train_horizon)
If the `predict_at` day is too early in the `START`-`END` horizon ...

... the history of order totals is not long enough.
@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_no_long_enough_history1(self, order_history, good_pixel_id, bad_predict_at, train_horizon):
    'If the `predict_at` day is too early in the `START`-`END` horizon ...\n\n        ... the history of order totals is not long enough.\n        '
    with pytest.raises(RuntimeError):
        order_history.make_horizontal_ts(pixel_id=good_pixel_id, predict_at=bad_predict_at, train_horizon=train_horizon)