Rename Forecast.training_horizon into .train_horizon

- we use that shorter name in `urban_meal_delivery.forecasts.*`
  and want to be consistent in the ORM layer as well
This commit is contained in:
Alexander Hess 2021-02-02 13:04:43 +01:00
commit 3f5b4a50bb
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
5 changed files with 63 additions and 15 deletions

View file

@ -140,7 +140,7 @@ class TestGenericForecastingModelProperties:
assert isinstance(result, db.Forecast)
assert result.pixel == pixel
assert result.start_at == predict_at
assert result.training_horizon == test_config.LONG_TRAIN_HORIZON
assert result.train_horizon == test_config.LONG_TRAIN_HORIZON
@pytest.mark.db
@pytest.mark.r