@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_frequency_is_number_of_weekdays(self, order_history, good_pixel_id, good_predict_at, train_horizon):
    'The `frequency` must be `7`.'
    result = order_history.make_horizontal_ts(pixel_id=good_pixel_id, predict_at=good_predict_at, train_horizon=train_horizon)
    (_, frequency, _) = result
    assert (frequency == 7)
The `frequency` must be `7`.
@pytest.mark.parametrize('train_horizon', test_config.TRAIN_HORIZONS)
def test_frequency_is_number_of_weekdays(self, order_history, good_pixel_id, good_predict_at, train_horizon):
    
    result = order_history.make_horizontal_ts(pixel_id=good_pixel_id, predict_at=good_predict_at, train_horizon=train_horizon)
    (_, frequency, _) = result
    assert (frequency == 7)