mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 07:46:06 -04:00
more tests
This commit is contained in:
@@ -440,7 +440,7 @@ def test_delete_notifications_logs_when_deletion_occurs():
|
|||||||
with patch(
|
with patch(
|
||||||
"app.utils.utc_now", side_effect=[fake_start_time, fake_end_time]
|
"app.utils.utc_now", side_effect=[fake_start_time, fake_end_time]
|
||||||
), patch(
|
), patch(
|
||||||
"app.dao.notifications.move_notifications_to_notification_history",
|
"app.dao.notifications_dao.move_notifications_to_notification_history",
|
||||||
return_value=5,
|
return_value=5,
|
||||||
) as mock_move, patch(
|
) as mock_move, patch(
|
||||||
"app.celery.nightly_tasks.current_app.logger.info"
|
"app.celery.nightly_tasks.current_app.logger.info"
|
||||||
|
|||||||
Reference in New Issue
Block a user