def test_no_long_enough_history2(self, order_history, good_pixel_id, good_predict_at):
    'If the `train_horizon` is longer than the `START`-`END` horizon ...\n\n        ... the history of order totals can never be long enough.\n        '
    with pytest.raises(RuntimeError):
        order_history.make_vertical_ts(pixel_id=good_pixel_id, predict_day=good_predict_at.date(), train_horizon=999)
If the `train_horizon` is longer than the `START`-`END` horizon ...

... the history of order totals can never be long enough.
def test_no_long_enough_history2(self, order_history, good_pixel_id, good_predict_at):
    'If the `train_horizon` is longer than the `START`-`END` horizon ...\n\n        ... the history of order totals can never be long enough.\n        '
    with pytest.raises(RuntimeError):
        order_history.make_vertical_ts(pixel_id=good_pixel_id, predict_day=good_predict_at.date(), train_horizon=999)