You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.
We need to add tests so that changes don't break the existing functionality.
There are many ways to fake the MongoDB calls but since we're only doing simple calls (GETs) the most preferable option would be to mock those calls (e.g. with unittest's mock.patch) and avoid spinning up a MongoDB instance.
In particular, we need to test the endpoints in the views.py, and also unit test the filehandler.
The text was updated successfully, but these errors were encountered:
We need to add tests so that changes don't break the existing functionality.
There are many ways to fake the MongoDB calls but since we're only doing simple calls (GETs) the most preferable option would be to mock those calls (e.g. with unittest's
mock.patch
) and avoid spinning up a MongoDB instance.In particular, we need to test the endpoints in the views.py, and also unit test the filehandler.
The text was updated successfully, but these errors were encountered: