remove most letter branding

This commit is contained in:
stvnrlly
2023-02-09 22:14:11 -05:00
parent d73b223d48
commit 5a15390336
22 changed files with 5 additions and 551 deletions

View File

@@ -15,7 +15,6 @@ from app.models import (
NOTIFICATION_STATUS_LETTER_RECEIVED,
NOTIFICATION_STATUS_TYPES_FAILED,
NOTIFICATION_TECHNICAL_FAILURE,
PRECOMPILED_TEMPLATE_NAME,
SMS_TYPE,
Notification,
ServiceGuestList,
@@ -316,26 +315,6 @@ def test_letter_notification_postcode_can_be_null_for_precompiled_letters(client
assert json['postcode'] is None
def test_is_precompiled_letter_false(sample_letter_template):
assert not sample_letter_template.is_precompiled_letter
def test_is_precompiled_letter_true(sample_letter_template):
sample_letter_template.hidden = True
sample_letter_template.name = PRECOMPILED_TEMPLATE_NAME
assert sample_letter_template.is_precompiled_letter
def test_is_precompiled_letter_hidden_true_not_name(sample_letter_template):
sample_letter_template.hidden = True
assert not sample_letter_template.is_precompiled_letter
def test_is_precompiled_letter_name_correct_not_hidden(sample_letter_template):
sample_letter_template.name = PRECOMPILED_TEMPLATE_NAME
assert not sample_letter_template.is_precompiled_letter
def test_template_folder_is_parent(sample_service):
x = None
folders = []