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