Add Unit Tests, Refactor Code, Remove Location Caching
Fixes #27 (closed)
Domain object Location
:
- Changes constructor to only require
coordinates
, all other attributes become optional - Streamlines naming of functions
- Removes superfluous code
- Moved into models.py
- Tests are added in test_models.py
Locations REST service:
- Removes caching logic
- Becomes configurable in terms of connection string, database & collection names
- Tests are added in test_locations.py
- Does no longer forward all private emails to the Frontend
Edited by Julian Menzler