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:
Chris Hill-Scott
2020-05-22 10:43:12 +01:00
parent b98f4561fa
commit d828c1c481
5 changed files with 17 additions and 13 deletions

View File

@@ -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 = {

View File

@@ -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")