Bump utils to bring in recent changes to Template classes

The main things we have to account for are:
- `WithSubjectTemplate` has gone
- every template dictionary must have `template_type` set
This commit is contained in:
Chris Hill-Scott
2020-04-15 17:58:57 +01:00
parent 1cebd74403
commit 88734bb74f
6 changed files with 44 additions and 30 deletions

View File

@@ -128,6 +128,7 @@ def email_template():
brand_name = email_branding['name']
template = {
'template_type': 'email',
'subject': 'foo',
'content': (
'Lorem Ipsum is simply dummy text of the printing and typesetting '
@@ -198,7 +199,7 @@ def letter_template():
else:
filename = 'no-branding'
template = {'subject': '', 'content': ''}
template = {'subject': '', 'content': '', 'template_type': 'letter'}
image_url = url_for('no_cookie.letter_branding_preview_image', filename=filename)
template_image = str(LetterImageTemplate(