remove functions to not talk about 7 days

remind us that data retention is flexible
This commit is contained in:
Leo Hemsted
2019-02-26 17:57:35 +00:00
parent a6f5e644b6
commit 38f0ea6cca
5 changed files with 35 additions and 35 deletions
@@ -19,7 +19,7 @@ from app.dao.notifications_dao import (
dao_timeout_notifications,
dao_update_notification,
dao_update_notifications_by_reference,
delete_notifications_created_more_than_a_week_ago_by_type,
delete_notifications_older_than_retention_by_type,
get_notification_by_id,
get_notification_for_job,
get_notification_with_personalisation,
@@ -79,7 +79,7 @@ def test_should_have_decorated_notifications_dao_functions():
assert get_notification_with_personalisation.__wrapped__.__name__ == 'get_notification_with_personalisation' # noqa
assert get_notifications_for_service.__wrapped__.__name__ == 'get_notifications_for_service' # noqa
assert get_notification_by_id.__wrapped__.__name__ == 'get_notification_by_id' # noqa
assert delete_notifications_created_more_than_a_week_ago_by_type.__wrapped__.__name__ == 'delete_notifications_created_more_than_a_week_ago_by_type' # noqa
assert delete_notifications_older_than_retention_by_type.__wrapped__.__name__ == 'delete_notifications_older_than_retention_by_type' # noqa
assert dao_delete_notifications_and_history_by_id.__wrapped__.__name__ == 'dao_delete_notifications_and_history_by_id' # noqa