urban-meal-delivery/tests/db
Alexander Hess e4e543bd40
Add ORM models for the simulation data
- add new ORM models `ReplaySimulation` and `ReplayedOrder`
  to store the data generated by the routing simulations
- add migrations script to create the corresponding database tables
  + create "replay_simulations" and "replayed_orders" tables
  + add missing check constraints to "orders" table
  + add unique constraint to "orders" table to enable compound key
  + drop unnecessary check constraints from the "orders" table
- add tests for the new ORM models
  + add `simulation`, `replayed_order`, `make_replay_order()`, and
    `pre_order` fixtures
  + add `ReplayedOrderFactor` faker class
- fix some typos
2021-09-16 11:58:55 +02:00
..
fake_data Add ORM models for the simulation data 2021-09-16 11:58:55 +02:00
replay Add ORM models for the simulation data 2021-09-16 11:58:55 +02:00
utils Add constructor for the DistanceMatrix class 2021-09-12 16:51:10 +02:00
__init__.py Add an ORM layer 2020-08-11 10:28:17 +02:00
test_addresses.py Add functionality for drawing folium.Maps 2021-01-26 17:07:50 +01:00
test_addresses_addresses.py Fix failing tests due to randomization 2021-09-15 12:00:03 +02:00
test_addresses_pixels.py Add DistanceMatrix class 2021-09-12 16:51:10 +02:00
test_cities.py Remove pylint from the project 2021-01-09 17:47:45 +01:00
test_couriers.py Remove pylint from the project 2021-01-09 17:47:45 +01:00
test_customer.py Remove pylint from the project 2021-01-09 17:47:45 +01:00
test_forecasts.py Rename Forecast.training_horizon into .train_horizon 2021-02-02 13:09:09 +01:00
test_grids.py Add Pixel.northeast/southwest properties 2021-01-26 17:05:36 +01:00
test_orders.py There is no 'too complex function' 2021-09-15 14:51:56 +02:00
test_pixels.py Adjust Pixel.__repr__() a tiny bit 2021-01-31 19:34:05 +01:00
test_restaurants.py Remove pylint from the project 2021-01-09 17:47:45 +01:00