Our code that handles operations to mongodb is currently not unit tested.
A library like mongomock may help write tests that aren't tied to implementation i.e. they allow us to test what should happen with the data without having to mock pymongo internals.
Acceptance Criteria:
air_quality_dashboard_dao is unit tested appropriately
Our code that handles operations to mongodb is currently not unit tested.
A library like mongomock may help write tests that aren't tied to implementation i.e. they allow us to test what should happen with the data without having to mock pymongo internals.
Acceptance Criteria: