-
-
Notifications
You must be signed in to change notification settings - Fork 1
Migrate reminder endpoints over from site, set up the testing suite #30
Conversation
- Add an Init sql script to create a test database that can be used for testing purposes. - Create a pytest 'conftest' with global fixtures for future testing purposes - Implement Reminder tests in an async manner. - Add an additional fixture to properly access instance attributes in async pytest fixtures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems okay for what it does.
Would like to see a few sentences in the readme to clarify that the database must exist to run the tests at this point.
OR as discussed on discord, recommend running the tests on docker if support is added. 👍
- This commit adds a task that runs the tests inside docker - It also introduces changes to the README regarding the instructions of how to run tests.
- This commit also patches a minor issue regarding how pydantic and FastAPI parses the `expiration` field when issuing a PATCH request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Maybe a few more places that could use more comments/explanation but otherwise it looks good to me
Thank you for the review, I've addressed a few changes regarding code consistency, and comments. |
Closing this in coordination with Joe per us sunsetting this project. |
Closes #22
Closes #31