Add OrderHistory class
- the main purpose of this class is to manage querying the order totals from the database and slice various kinds of time series out of the data - the class holds the former `aggregate_orders()` function as a method - modularize the corresponding tests - add `tests.config` with globals used when testing to provide a single source of truth for various settings
This commit is contained in:
parent
d5b3efbca1
commit
65d1632e98
6 changed files with 289 additions and 129 deletions
1
tests/forecasts/timify/__init__.py
Normal file
1
tests/forecasts/timify/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
"""Tests for the `urban_meal_delivery.forecasts.timify` module."""
|
||||
Loading…
Add table
Add a link
Reference in a new issue