urban-meal-delivery/tests/db
Alexander Hess 776112d609
Add Grid.gridify() constructor
- the purpose of this constructor method is to generate all `Pixel`s
  for a `Grid` that have at least one `Address` assigned to them
- fix missing `UniqueConstraint` in `Grid` class => it was not possible
  to create two `Grid`s with the same `.side_length` in different cities
- change the `City.viewport` property into two separate `City.southwest`
  and `City.northeast` properties; also add `City.total_x` and
  `City.total_y` properties for convenience
2021-01-05 18:58:48 +01:00
..
fake_data Add ORM models for the pixel grids 2021-01-03 19:33:36 +01:00
utils Add Grid.gridify() constructor 2021-01-05 18:58:48 +01:00
__init__.py Add an ORM layer 2020-08-11 10:28:17 +02:00
conftest.py Use globals for the database connection 2021-01-04 20:23:55 +01:00
test_addresses.py Integrate the new Location class 2021-01-04 20:33:10 +01:00
test_addresses_pixels.py Add ORM models for the pixel grids 2021-01-03 19:33:36 +01:00
test_cities.py Add Grid.gridify() constructor 2021-01-05 18:58:48 +01:00
test_couriers.py Re-factor the ORM tests to use randomized fake data 2020-12-29 15:40:32 +01:00
test_customer.py Re-factor the ORM tests to use randomized fake data 2020-12-29 15:40:32 +01:00
test_grids.py Add Grid.gridify() constructor 2021-01-05 18:58:48 +01:00
test_orders.py Add Grid.gridify() constructor 2021-01-05 18:58:48 +01:00
test_pixels.py Add ORM models for the pixel grids 2021-01-03 19:33:36 +01:00
test_restaurants.py Re-factor the ORM tests to use randomized fake data 2020-12-29 15:40:32 +01:00