mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
remove LetterImageTemplate
This commit is contained in:
@@ -17,11 +17,7 @@ from notifications_utils.recipients import (
|
||||
Row,
|
||||
first_column_headings,
|
||||
)
|
||||
from notifications_utils.template import (
|
||||
EmailPreviewTemplate,
|
||||
LetterImageTemplate,
|
||||
SMSMessageTemplate,
|
||||
)
|
||||
from notifications_utils.template import EmailPreviewTemplate, SMSMessageTemplate
|
||||
|
||||
|
||||
def _sample_template(template_type, content="foo"):
|
||||
@@ -30,11 +26,6 @@ def _sample_template(template_type, content="foo"):
|
||||
{"content": content, "subject": "bar", "template_type": "email"}
|
||||
),
|
||||
"sms": SMSMessageTemplate({"content": content, "template_type": "sms"}),
|
||||
"letter": LetterImageTemplate(
|
||||
{"content": content, "subject": "bar", "template_type": "letter"},
|
||||
image_url="https://example.com",
|
||||
page_count=1,
|
||||
),
|
||||
}.get(template_type)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user