mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 08:16:51 -04:00
Bump utils to 39.4.0
Adds delivery estimates for letters posted to Europe or the rest of the world.
This commit is contained in:
@@ -443,8 +443,7 @@ def notification_json(
|
||||
if status is None:
|
||||
status = 'delivered'
|
||||
links = {}
|
||||
if template_type == 'letter':
|
||||
postage = postage or 'second'
|
||||
postage = postage or 'second'
|
||||
|
||||
if with_links:
|
||||
links = {
|
||||
|
||||
@@ -530,13 +530,13 @@ def test_notification_page_does_not_show_cancel_link_for_letter_which_cannot_be_
|
||||
'europe',
|
||||
'Postage: international',
|
||||
'letter-postage-international',
|
||||
'Estimated delivery date: Wednesday 6 January',
|
||||
'Estimated delivery date: Friday 8 January',
|
||||
),
|
||||
(
|
||||
'rest-of-world',
|
||||
'Postage: international',
|
||||
'letter-postage-international',
|
||||
'Estimated delivery date: Wednesday 6 January',
|
||||
'Estimated delivery date: Monday 11 January',
|
||||
),
|
||||
))
|
||||
@freeze_time("2016-01-01 18:00")
|
||||
|
||||
Reference in New Issue
Block a user