urban-meal-delivery/tests
Alexander Hess 54ff377579
Add CLI script to gridify all cities
- reorganize `urban_meal_delivery.console` into a sub-package
- move `tests.db.conftest` fixtures into `tests.conftest`
  => some integration tests regarding CLI scripts need a database
- add `urban_meal_delivery.console.decorators.db_revision` decorator
  to ensure the database is at a certain state before a CLI script runs
- refactor the `urban_meal_delivery.db.grids.Grid.gridify()` constructor:
  - bug fix: even empty `Pixel`s end up in the database temporarily
    => create `Pixel` objects only if an `Address` is to be assigned
       to it
  - streamline code and docstring
  - add further test cases
2021-01-06 16:17:05 +01:00
..
console Add CLI script to gridify all cities 2021-01-06 16:17:05 +01:00
db Add CLI script to gridify all cities 2021-01-06 16:17:05 +01:00
__init__.py Add a testing tool chain 2020-08-04 00:09:29 +02:00
conftest.py Add CLI script to gridify all cities 2021-01-06 16:17:05 +01:00
test_config.py Use globals for the database connection 2021-01-04 20:23:55 +01:00
test_version.py Run type checks only against packaged *.py files 2020-08-04 22:57:55 +02:00