mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 03:44:38 -05:00
Instead of using `mock_get_notification` to create a notification then mock it in the tests, a new function, `create_notification`, can be used to create a custom notification to be mocked. Using this in the `test_notifications.py` file makes it Pytest 5 compatible.